How to sync an exact list of files, Including deletes!?
matt at mattmccutchen.net
Sat Nov 20 18:53:50 MST 2010
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
> What good solutions can you suggest?
You want the --delete-missing-args option of the current development
More information about the rsync