On Mon, 2008-10-13 at 23:20 -0400, Franck Y wrote: > I got the source and rebuild it since i needed the --backup-dir-dels > option. > > I sucesfully compiled it within my remote and my host. > > I have a little script that is working so i added the > --backup-dir-dels > > rsync --owner --group --compress --size-only --stats > --backup-dir-dels=/back_delete --progress --recursive --times > --exclude '*.tmp' --perms --links 192.168.10.69::all_data /data2/ | > tee $name_of_log. > > I remove a file from the remote and a directory as well but > unfortunately i saw nothing in /back_delete, i tried > --backup-dir-dels=/back_delete and --backup-dir-dels='/back_delete' > but with no luck !
You need to use the --delete and --backup options along with --backup-dir-dels. You may also need to set a --backup-dir to give rsync a place to put overwritten files; otherwise it will default to appending a ~ to the name. Matt -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html