December 1, 20178 yr rsync -r -v --progress --delete -s /mnt/disks/TOWER_Docs/ /mnt/user/Docs Good day crew, the above command replaces EVERY file in TOWER_2/Docs with Every file from TOWER/Docs but with a date/timestamp of the time of file transfer. I need to sync the share (delete files that no longer exist, update files that have changed, leave alone files that have not changed, copy new files/folders, etc) Any help would be greatly appreciated.
December 1, 20178 yr Community Expert This is what I use: rsync -av --progress --delete-before -e ssh /mnt/user/TV/ [email protected]:/mnt/user/TV/
December 2, 20178 yr Author Awesome Jonnie! rsync -av --progress --delete-before /mnt/disks/TOWER_Docs/ /mnt/user/Docs allows the correct date/timestamp to roll through! First update is passing through the backup data nicely.
December 2, 20178 yr Community Expert I believe what you were missing was the -a, you can adjust the other options as preferred.
Archived
This topic is now archived and is closed to further replies.