create directories

Tony Shum Tony.Shum at analog.com
Fri Oct 26 03:25:15 EST 2001


Jason Helfman wrote:
> 
> if i do an rsync to the current directory, how come the parent directory
> isn't created?
> 
> I normally just get my files spewed into the current directory,
> eventhough I am trying to transfer a directory.
> 
> Something like this
> 
> rsync -avp host::module/ .
> 
> --
> Jason G Helfman
> Network Administrator
> BizRate.com
> 310.754.1264 desk
> 310.466.2319 cell
> 
>         Fingerprint: DA13 C109 072B CC12 B568  8D84 E9A2 6A7D C479 BCFB
>             GnuPG http://www.gnupg.org  Get Private!  1024D/D75E0A36

If you want the module directory to be created, you need to remove the /
  rsync -avp host::module .


Tony Shum




More information about the rsync mailing list