Hi,

On Thursday 02 December 2004 22:24, Hong Zhu wrote:
> Hi all,
>
> 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/

Here with version 2.6.3 (protocol version 28) it works fine.
No hidden files except .htaccess get transferred.

What version do you use? 
Try adding --exclude=".*" to your option.

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

Reply via email to