Re: Downloading specific files with rsync and make them keeping the original directories structures.
-----BEGIN PGP SIGNED MESSAGE-----
See --relative though it will need a little bit of massaging to avoid
the debian dir.
On 04/06/2015 12:29 AM, Hongyi Zhao wrote:
> Hi all,
> See the following command:
> $ rsync -av ftp.cn.debian.org::debian/dists/Debian7.8/Release .
> Which will download the file Release under the directory from which
> the rsync command is isssued.
> If I want to keep the original directories structures, say, for
> this case, put the the Release in the following location:
> If the directory tree doesn't exist, let the rsync create the
> directory structure firstly and then put the file into it.
> Is this possible for this case?
Kevin Korb Phone: (407) 252-6853
Systems Administrator Internet:
FutureQuest, Inc. [hidden email] (work)
Orlando, Florida [hidden email] (personal)
Web page: http://www.sanitarium.net/ PGP public key available on web site.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2