On Sat, 2010-11-20 at 22:56 +0100, Axel Kittenberger wrote: > While running, Lsyncd knows exactly which files need transfer and > rsync's --files-from (with =- to get the filelist from stdin-pipe) > sounds like an ideal solution for this, also to reduce the number of > times rsync gets spawned. Coded that, now in beta stage there is a > nasty problem, rsync refuses to accept deletions that way! > > It says e.g. "rsync: link_stat "/tmp/ltest.M2e/src/z/t/fq" failed: No > such file or directory (2)" and refuses to delete the file on the > target. > > What good solutions can you suggest?
You want the --delete-missing-args option of the current development rsync. -- 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