Hi all,
suppose I have a source and target folder, I’d like to do this:
- Sync new items in
sourcetotarget - Sync deleted items in
sourcetotarget - Do not sync deleted items in
targettosource: deleted fromtargetmake no changes tosource - However, do not sync deleted items in
targetfromsourceagain (keep a history of what have been synced)
Steps 1-3 we can do with send only from source and receive only in target.
Step 4, however, I don’t know an easy way to do - apart from using rsync like:
- sync them the 1st time
- create list of current files from
source, saylast_synced.logwithfind - saved the list of file
The second time onwards
- sync the folders using
rsync's--exclude-from=last_synced.log - repeat steps 2-3
My use case is syncing Mac’s Photos's originals files to my home server. This is because deleting photos on disk won’t reflect on Mac Photos.
Thanks