Displaying 1 result from an estimated 1 matches for "rsyncdirectorystructureon".
Did you mean:
rsyncdirectorystructureonly
2007 Apr 26
0
Need help to rsynch the directory structure only excluding the files from remote to local.
...ir1/dir2 -type d` dest
Anybody have any other ideas?
Thanks!
Dan
Tim
Potter
<tpot@valinux To:
Daniel.J.B...@Cummins.com
.com> cc:
r...@lists.samba.org
Subject: Re:
RSyncdirectorystructureonly
06/17/01
18:11
Daniel.J.B...@Cummins.com writes:
> Is there a way to use rsync to replicate adirectorystructureonly and
not
> the files in thedirectorystructure?
Try this:
rsync -av --include '*/' --exclude '*' source-dir dest-dir
Tim.