excluding a directory without stating its contents?

Carlos Carvalho carlos at fisica.ufpr.br
Wed Nov 12 00:02:34 GMT 2008


I need to exclude a directory at the root of the sync tree. It's big,
so it's important that both the source and destination don't waste
time stating their contents. Should I use

  --exclude /dir
or
  --exclude /dir/***

or something else?


More information about the rsync mailing list