Erik,

Include/exclude rules that you specify earlier have higher priority.
If you say --exclude="*" --include=".*", all the files will match the
first rule, and they will all get excluded.  You probably want to put
the include rule first.

To transfer the immediate contents of a directory without recursing
into subdirectories, use --dirs.  Subdirectories themselves are still
transferred to the receiver, but nothing is copied into them.  If you
want to skip copying even the subdirectories, use --exclude="*/" .

Matt
--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to