using rsync to transfer only files and not sub-directories

Meeaz zaeem.masood at
Tue Sep 16 19:30:44 GMT 2008

Hi All,

I am trying to rsync contents of a directory while making sure that "only"
files under that directory are synched and "not" the contents of any
sub-directory under that dir.

I know that I will have to use the include/exclude option but not sure how.
Can some please help?

View this message in context:
Sent from the Samba - rsync mailing list archive at
-------------- next part --------------
HTML attachment scrubbed and removed

More information about the rsync mailing list