how to exclude hidden files/directories

Wayne Davison wayned at samba.org
Fri Dec 3 20:08:09 GMT 2004


On Fri, Dec 03, 2004 at 02:29:57PM -0500, Hong Zhu wrote:
> how am I able to exclude hidden directories to be transferred? 

Immediately prior to the --include="*/" add this:

    --exclude=".*/"

..wayne..


More information about the rsync mailing list