exclude a pattern but only in the top level
ms at citd.de
Wed May 15 02:40:00 MDT 2013
On 15.05.2013 04:13, Brian K. White wrote:
> How can I get it to exclude just the top-level directory "/foo/aaa" ?
With a '/' at the beginning you pin the pattern to the beginning.
You don't use "/" at the end of directory names, so i'm not sure if the
correct one is:
With a '/' at the end (... source/ target/ ...) it's the first one, in
your case it might be the other one.
More information about the rsync