On 10/15/06, Jerry Fleming <[EMAIL PROTECTED]> wrote:
I am using rsync version 2.6.4 on Debian 3.1rc. I use rsync in this way:
rsync -avLz -e ssh --progress --delete --exclude=file
[EMAIL PROTECTED]:/data/lessondev/ /mnt/usb/
Now I would like all old files that should be deleted to be kept in
somewhere else, maybe also renamed to append a timestamp. Any suggestion
will be appreciated.

You can use --backup, but it will keep copies of overwritten files as
well as deleted files.  You can put the backups in another directory
(--backup-dir) and/or append a string of your choice to their names
(--suffix).

Matt
--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to