You can try this option!!!
The --dirs option is implied by the --files-from option or the --list-only option (including an implied --list-only usage) if --recursive wasn't specified (so that directories are seen in the listing). Specify --no-dirs (or --no-d) if you want to turn this off.
There is also a backward-compatibility helper option, --old-dirs (or --old-d) that tells rsync to use a hack of "-r --exclude='/*/*'" to get an older rsync to list a single directory without recursing.
On May 17, 2010, at 7:45 AM, John Doe wrote:Upon looking at them again, they are intact.
> From: "aurfalien@gmail.com" <aurfalien@gmail.com>
>> Any thoughts on how to copy dirs, subdirs and sym links only w/o
>> contents?
>
> Not sure what you mean by broken but, did you check -k or -K?
> Maybe if you give an example...
>
> JD
However the contents or file data does get copied over when using the -
l flag.
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos