Hi Guys, is there a way to have a absolute file paths in a file - and use --files-from together with --delete option? what i mean is - lets say i have a daily generated file a.txt from an external script which contains something like this: /level1/level2/level/.../.../leveln/file.txt can i ask rsync to copy all files from that kind - /level1/level2/level/.../.../leveln/file.txt which my file a.txt contains and --delete all others which are not in the file but were copied on destination in past? or should i go for one more bash script and call a "cleaner" CMD after every rsync run? Thanks in advance for your help!!! Best regards Emil -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.samba.org/pipermail/rsync/attachments/20100208/b6ed11c8/attachment.html>
On Mon, 2010-02-08 at 20:19 +0200, Emil Genchev wrote:> is there a way to have a absolute file paths in a file - and use > --files-from together with --delete option? > what i mean is - lets say i have a daily generated file a.txt from an > external script which contains something like this: > /level1/level2/level/.../.../leveln/file.txt > > can i ask rsync to copy all files from that kind > - /level1/level2/level/.../.../leveln/file.txt which my file a.txt > contains and --delete all others which are not in the file but were > copied on destination in past?Please see: https://bugzilla.samba.org/show_bug.cgi?id=3465 -- Matt