[mdk-re] rsync

Dmitry V. Levin =?iso-8859-1?q?ldv_=CE=C1_fandra=2Eorg?=
Вт Фев 13 02:19:00 MSK 2001


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.
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя     : =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Тип     : application/pgp-signature
Размер  : 232 байтов
Описание: =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Url     : <http://lists.altlinux.org/pipermail/community/attachments/20010213/99518194/attachment-0014.bin>


Подробная информация о списке рассылки community