How to rsync only directories, no files inside ?

Steven Shiau steven at nchc.org.tw
Sun Feb 29 18:11:32 GMT 2004


Hi.
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®æ¦¡ªºÀÉ®×.
See http://www.fsf.org/philosophy/no-word-attachments.html
and http://www.cyut.edu.tw/~ckhung/published/997nodoc.shtml
----------------------------------
Steven Shiau
E-mail: steven _at_ nchc.org.tw; steven _at_ stick.idv.tw


More information about the rsync mailing list