Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

RSYNC extra options

Western Digital Drives - The Preferred Drives of FreeNAS and TrueNAS CORE
Status
Not open for further replies.

namboy

Neophyte
Joined
Aug 14, 2013
Messages
9
I have an Rsync task from one 16Tb NAS to another 16TB NAS - running successfully. However, once the initial sync of all the data is done, I would like to configure the task to replace any/all the 'new' files. There will be many times that I find an 'old' image file that was processed incorrectly and I re-process it. Now, the name of the 'new' file will remain the same, but the time/date and maybe file size will change and I would like to add an Rsync option to replace such a file during a scheduled sync operation. Has anyone done such a thing? Suggestions on where to look for command line parameters to add??
 

fracai

Neophyte Sage
Joined
Aug 22, 2012
Messages
1,210
That should be the default behavior.

If any files are going to be removed on the source and you want them removed at the destination, add '--delete'.
 
Status
Not open for further replies.
Top