On May 17, 2010, at 10:41 AM, Bill Campbell wrote:
On Sun, May 16, 2010, aurfal...@gmail.com wrote:
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
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