Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Pipeline RSYNC not recursing/overwriting

I have this step, which seems to work (at least it doesn't fail).

But the files inside a subdirectory are not getting updated/overwritten


- pipe: atlassian/rsync-deploy:0.7.1
USER: 'root'
SERVER: 'someserver'
REMOTE_PATH: '/root/sq'
LOCAL_PATH: './Server/Source'
EXTRA_ARGS: '-rzvv --delete --exclude={"*-lock.json",".env",".idea","node_modules","bin"}'
DEBUG: 'true'
Is there something wrong with the arguments?

1 answer

0 votes
Patrik S Atlassian Team Jun 07, 2022

Hello @capsicumdreams ,

Thank you for reaching out to Atlassian Community.

Rsync by default checks the modification time and size of the file to decide whether it should be updated or not, and sometimes this can make it wrongly skip some files. In this case I would suggest trying to use the --checksum flag and test if the files are correctly transferred, as with this flag rsync will compare the checksum of the files to decide if they should be updated or not.

If that does not work, I see you are already printing verbose logs in your rsync command, so are the files you were expecting to see in the destination being listed by rsync in the logs? Could you provide us with the path of one of those files that are not being transferred? 

Thank you, @capsicumdreams .

Kind regards,

Patrik S

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events