Displaying 1 result from an estimated 1 matches for "vbox4php".
2010 May 17
2
copy dirs. subdirs, symlink, but not files
Hi all,
I've been messing around with needing to duplicate a dir tree minus
its file contents.
What i would like to achieve is to rsync dirs, subdirs and sym links
of dirs excluding files.
My first experiment was to simply do dirs and subdirs;
rsync -a -f"+ */" -f"- *" source destination
Worked like a champ.
However I'm unsure how to include or exclude sym