Downloading specific files with rsync and make them keeping the original directories structures.
Hongyi Zhao
hongyi.zhao at gmail.com
Sun Apr 5 22:29:27 MDT 2015
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:
./dists/Debian7.8/Release
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?
Regards
--
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
More information about the rsync
mailing list