[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[rdiff-backup-users] Problem with --include-filelist and --exclude-globb
From: |
freeslkr |
Subject: |
[rdiff-backup-users] Problem with --include-filelist and --exclude-globbing-filelist |
Date: |
Fri, 7 Apr 2006 23:07:13 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Hello,
I'm having trouble with rdiff-backup when the last two include/exclude
options have the form:
--include-filelist <file> --exclude-globbing-filelist <empty-file>
rdiff-backup errors with the message:
Fatal Error: Last selection expression:
Filelist: <file>
only specifies that files be included. Because the default is to
include all files, the expression is redundant. Exiting because
this probably isn't what you meant.
It's easy to verify this with something like:
rdiff-backup \
--include-filelist /dev/null \
--exclude-globbing-filelist /dev/null \
<src> <destination>
The reason a filelist might be empty is because it's generated at
run-time with `find`. Also, it does not error if
--exclude-globbing-filelist is replaced by --exclude-filelist.
Therefore, it's easy to work around by adding an intentionally vacant
--exclude-filelist /dev/null
as the last option.
Am I misusing the option syntax, or is this something that should be fixed
in rdiff-backup?
Thank you for your help.
freeslkr
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [rdiff-backup-users] Problem with --include-filelist and --exclude-globbing-filelist,
freeslkr <=