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
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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.