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.