Its been a little while since I played with this but what I almost had working was:
copy source to destination only new or changed files w/o purge
if files in dest not in source then create dated_deleted folder in each subfolder in source (best if only created for that subfolder having orphan files)
move dest files not in source to folder dated_deleted
This involves if/then loops which I just can't seem to figure out given the minuscule amount of code I know.
I thought it would be really cool to use this in conjunction with ZFS so that you are protected against both accidental deletion and bit level corruption.
Edited by ddietz - 10/3/11 at 7:28am
copy source to destination only new or changed files w/o purge
if files in dest not in source then create dated_deleted folder in each subfolder in source (best if only created for that subfolder having orphan files)
move dest files not in source to folder dated_deleted
This involves if/then loops which I just can't seem to figure out given the minuscule amount of code I know.
I thought it would be really cool to use this in conjunction with ZFS so that you are protected against both accidental deletion and bit level corruption.
Edited by ddietz - 10/3/11 at 7:28am




















