P
postcd
Guest
Hello,
2 servers and im sincing files using rsync -u (update switch) between them.
and i want to prevent overwrite file that i editted most recently.
i want to ask if date and time is not same on 2 servers, can rsync overwrite the my recently editted file by one that was editted at earlier time? just because source server has time set lets say several hours in advance in comparison to dest. server? thx
im currently using rsync -au
i want to rsync the way that target file have same timestamp. and with oposite direction rsync later on, rsync will skip the file even if file has different size, but same time stamp (mod. date)
how to achieve this please?
2 servers and im sincing files using rsync -u (update switch) between them.
and i want to prevent overwrite file that i editted most recently.
i want to ask if date and time is not same on 2 servers, can rsync overwrite the my recently editted file by one that was editted at earlier time? just because source server has time set lets say several hours in advance in comparison to dest. server? thx
im currently using rsync -au
i want to rsync the way that target file have same timestamp. and with oposite direction rsync later on, rsync will skip the file even if file has different size, but same time stamp (mod. date)
how to achieve this please?
Last edited: