How to --exclude /usr/ but --include /usr/local/ ?
labradley at mindspring.com
Mon Jun 6 04:28:08 GMT 2005
In looking at man rsync, it does not appear to both
--exclude /usr/ and --include /usr/local/
because from the man page:
"If a pattern excludes a particular parent directory, it can
render a deeper include pattern ineffectual because rsync did
not descend through that excluded section of the hierarchy."
I start rsync at / and the files I wish to save are in /usr/local
plus /home and some other directories.
Is there a work-around to do this?
Larry Alkoff N2LA - Austin TX
Using Thunderbird on Slackware Linux
More information about the rsync