Re: How to exclude MULTIPLE directories in a rsync command ?
Matthew Lincoln <kmlincoln100@hotmail.com> wrote:
> As I learned from the man page of rsync I can exclude a certain
> directory (trees) by using the --exclude option like in
>
> rsync .... --exclude=/proc ....
>
> But how do I exclude multiple directory (trees) at once in such
> a rsync command? The following does not work:
Use multiple '--exclude='
rsync .... --exclude=/proc --exclude=/net --exclude=/tmp
G'luck...
--
PLEASE post a SUMMARY of the answer(s) to your question(s)!
Show Windows & Gates to the exit door.
Unless otherwise noted, the statements herein reflect my personal
opinions and not those of any organization with which I may be affiliated.
|