Hello,
Thanks for the quick response Tim!!
I tried using the excludes you mentioned but it doesn't seem to work.
Every file still gets copied.
I also tried to have the remote machine execute a command to generate a
file list but this didn't seem to work either:
rsync -av server:`find /dir1/dir2 -type d` dest
Anybody have any other ideas?
Thanks!
Dan
Tim Potter
<tpot@valinux To: [EMAIL PROTECTED]
.com> cc: [EMAIL PROTECTED]
Subject: Re: RSync directory structure
only
06/17/01
18:11
[EMAIL PROTECTED] writes:
> Is there a way to use rsync to replicate a directory structure only and
not
> the files in the directory structure?
Try this:
rsync -av --include '*/' --exclude '*' source-dir dest-dir
Tim.