From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: "Dmitry V. Levin" To: mandrake-russian@linuxteam.iplabs.ru Subject: Re: [mdk-re] rsync Message-ID: <20010213022415.E3026@LDV.fandra.org> Mail-Followup-To: "Dmitry V. Levin" , mandrake-russian@linuxteam.iplabs.ru References: <20010212023421.I13267@LDV.fandra.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IU5/I01NYhRvwH70" Content-Disposition: inline In-Reply-To: ; from is-anti@mail.ru on Tue, Feb 13, 2001 at 01:15:00AM -0500 Sender: mandrake-russian-admin@linuxteam.iplabs.ru Errors-To: mandrake-russian-admin@linuxteam.iplabs.ru X-BeenThere: mandrake-russian@linuxteam.iplabs.ru X-Mailman-Version: 2.0 Precedence: bulk Reply-To: mandrake-russian@linuxteam.iplabs.ru List-Help: List-Post: List-Subscribe: , List-Id: Mandrake/RE discussion list List-Unsubscribe: , List-Archive: Date: Tue Feb 13 02:19:00 2001 X-Original-Date: Tue, 13 Feb 2001 02:24:15 +0300 Archived-At: List-Archive: --IU5/I01NYhRvwH70 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit On Tue, Feb 13, 2001 at 01:15:00AM -0500, Igor Solovyov wrote: > DVL> > Объясните мне тупому, как пользоваться subj-ем > DVL> > DVL> man 1 rsync > > Вот-вот. Именно там и глядел! > > DVL> > $ rsync -v --progress linuxteam.iplabs.ru::MandrakeRE/iso/REbeta-CD1.iso > DVL> > Welcome to IPLabs Linux Team public rsync server! > DVL> > > DVL> > -rw-r--r-- 668139520 2001/02/10 22:28:04 REbeta-CD1.iso > DVL> > wrote 98 bytes read 120 bytes 6.92 bytes/sec > DVL> > total size is 668139520 speedup is 3064860.18 > DVL> > > DVL> > И все! Ничего не качает. > DVL> Вы его не попросили об этом. > DVL> > DVL> Hint: добавьте опцию "-a". > > Как об этом по ману можно догадаться? > > -a, --archive archive mode > > Какая связь с тем, что бы качать стало? > Ну вот, читаю я пример: > > rsync -avz foo:src/bar /data/tmp > > this would recursively transfer all files from the directory > src/bar on the machine foo into the /data/tmp/bar directory on the > local machine. The files are transferred in "archive" mode, which > ensures that symbolic links, devices, attributes, permissions, > ownerships etc are preserved in the transfer. Additionally, com╜ > pression will be used to reduce the size of data portions of the > transfer. > > Ну нигде я в мане не нашел про то, что -a обязательно для того, чтобы закачало! Вы не до конца manpage процитировали: -a, --archive This is equivalent to -rlptgoD. It is a quick way of saying you want recursion and want to preserve everything. В принципе, для рекурсии "-r" достаточно; согласитесь, что рекурсия - это очевидно в данном случае. Regards, Dmitry +-------------------------------------------------------------------------+ Dmitry V. Levin mailto://ldv@fandra.org Software Engineer PGP pubkey http://www.fandra.org/users/ldv/pgpkeys.html IPLabs Linux Team http://linux.iplabs.ru Fandra Project http://www.fandra.org +-------------------------------------------------------------------------+ UNIX is user friendly. It's just very selective about who its friends are. --IU5/I01NYhRvwH70 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE6iHCfZqIoNiVITrsRAu90AJ0QoB7o9GIeg0W3cXyoFyz3vVAL/wCg7HAp MYAmQ4ouhIvp3JfSOfgojb0= =uq9C -----END PGP SIGNATURE----- --IU5/I01NYhRvwH70--