Hi folks,
Is there a way to tell the --delete option not to really delete,
but to rename the files by appending a given extension (i.e., as the
"-b --suffix" options do for files that differ)? Instead of deleting
files that don't exist in the master copy, I'd like to rename them
to something like "file.dat.rsync-20001013-deleted".
I'm setting up a delayed mirror of my users' home directory,
and I'd like to preserve a few days of "history". The idea is,
after each night's rsync, I'd run a job that looked for files
with the "rsync-blahblah" extension that were older than, say, four
days old, and really delete them.
Thanks in advance for any advice.
Bryan
--
===============================================================================
Bryan Wright |"If you take cranberries and stew them like
Physics Department | applesauce, they taste much more like prunes
University of Virginia | than rhubarb does." -- Groucho
Charlottesville, VA 22901 |
(804) 924-7218 | [EMAIL PROTECTED]
===============================================================================