Re: Delete file on destination only if source was delete at least X days before.

2011-11-27 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rsync has absolutely no knowledge of when a file was deleted. Perhaps you are looking for something like --backup and --backup-dir to temporarily preserve files instead of deleting them (then deleting them with a simple rm -rf later)? Or maybe you sh

Delete file on destination only if source was delete at least X days before.

2011-11-27 Thread Ercolino de spiacico
Hello everybody, I've been looking for a way to use rsync with the --del option but checking the data of the file as well. What I'm after is a way to backup NAS1 to NAS2, literally copying everything, but asking rsync not to delete data on NAS2 not present on NAS1 if the source was removed l