how to exclude hidden files/directories
hzhu at wesleyan.edu
Thu Dec 2 21:24:04 GMT 2004
I'm rsync'ing all directories tree plus *.html and
.htaccess files but excluding everything else.
Although *.html files are indeed the only files get
transferred, hidden files and directories like
".abc" also get transferred...
The syntax I'm using is as following:
rsync -av --include="*/" --include="*.html"
--include=".htaccess" --exclude="*" /source/ /dest/
can someone help?
Thanks a lot,
More information about the rsync