files-from and delete option?

Emil Genchev emo822 at gmail.com
Mon Feb 8 11:19:37 MST 2010


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>


More information about the rsync mailing list