Mon 11 Apr 2005 01:46:49 PM UTC, original submission:
rdiff-backup version 0.13.4, as distributed by gentoo, says some strange things in the man page. Near the top it says:
" --include /usr/local
specifies that /usr, /usr/local, /usr/local/lib, and /usr/local/lib/netscape (but not /usr/doc) all be backed up."
i.e. --include is recursive, and specifying a directory with include also specifies all subdirectories and all their contents, unless specifically excluded by a preceding --exclude directive.
On the other hand, near the bottom of the man page, it says
"For example, if the file "list.txt" contains the lines:
/usr/local
- /usr/local/doc
/usr/local/bin
+ /var
- /var
then "--include-filelist list.txt" would include /usr, /usr/local, and /usr/local/bin. It would exclude /usr/local/doc, /usr/local/doc/python, etc. It neither excludes nor includes
/usr/local/man, leaving the fate of this directory to the next specification condition."
/usr/local is included, and includes are recursive, so /usr/local/man should also be included...but the man page says it is "neither included nor excluded"
I don't know what the truth is here, but this sounds like a contradiction to me.
-Ben Schwartz
|