How to rsync only directories, no files inside ?

Steven Shiau steven at
Sun Feb 29 18:11:32 GMT 2004

I need to create a lot of directories, just the same with remote's /var,
but I only need the directories, the files inside those sub-directories in
/var/ are not necessary for me.
I know "find+cp" can do, but I would like to use the archive mode, i.e. I
need the original permision, owner, group...
Can I make it using rsync ? If so, please tell me how.
Thank you in advance.
Please AVOID distributing documents in WORD, EXCEL or POWERPOINT format.
[Chinese Big5] ½ÐÁקK´²§GWORD, EXCEL ©Î¬O POWERPOINT®æ¦¡ªºÀÉ®×.
Steven Shiau
E-mail: steven _at_; steven _at_

More information about the rsync mailing list