On 8/24/06, Jannes Faber <[EMAIL PROTECTED]> wrote:
Is it possible to somehow combine --files-from and --filter into one file,
so that I can use one here-document?

In bash you can use multiple here-documents, like this:

rsync <blah> --filter='. -'  <<ENDFILTERS --files-from=/dev/fd/3 3<<ENDFILES
+ foo
- bar
ENDFILTERS
file1
path/to/file2
ENDFILES

Does that solve the problem?

Matt
--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to