On Thu, Mar 15, 2007 at 10:44:08AM +0200, Nick A Gordun wrote: > I am looking for to only sync directories and files structures only, > without coping any data within files...
You can sync just directories by excluding everything else. In a modern rsync, that is this filter option, which says to exclude everything that is not a directory: -f '-! */' In older rsync versions, you must specify both an include of all directories, and an exclude of everything else: --include='*/' --exclude='*' It cannot copy any other "file structures" other than the files themselves, which includes data. ..wayne.. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html