Hi all, I have a need to copy only dirs, subdirs and sym links only without the need to copy contents. I originally used the following test to observe behavior; rsync -a -f"+ */" -f"- *" source destination So I noticed that dirs/subdirs were copied but without contents as desired. I have several sym links (dir sym links) that I would also to to copy over. I tried this; rsync -a -f"+ */" -f"- * -l" source destination Although my sym links show, they are broken. Any thoughts on how to copy dirs, subdirs and sym links only w/o contents? |
_______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos