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



_______________________________________________
rdiff-backup-users mailing list at [email protected]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Reply via email to