Hi, I've tried various combinations of --exclude and --include, but I can't quite get it. What I'd like to do is only mirror certain directories in a tree. For example, say a directory tree starting at /x contained under it several directories named "abc". I want to mirror only the "abc" directories and what's under them and nothing else.
/x/abcdef/456 /x/y/z /x/y/abc/123 /x/z/123 /x/z/abc/456 If the above represents the 5 files under /x, then I'd like to rsync to only mirror the files under "abc" folders, namely /x/y/abc/ and /x/z/abc/. I tried to include '*/abc/*' and exclude '*', but that didn't work. Thanks, - Mark -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html