[mdk-re] rsync

Igor Solovyov =?iso-8859-1?q?is-anti_=CE=C1_mail=2Eru?=
Вт Фев 13 19:43:27 MSK 2001


Hi !
On Tue, 13 Feb 2001 02:24:15 +0300 "Dmitry V. Levin" <ldv на fandra.org> wrote:
DVL> > Ну вот, читаю я пример:
DVL> > 
DVL> >         rsync -avz foo:src/bar /data/tmp
DVL> >  
DVL> >        this would recursively  transfer  all  files  from  the  directory
DVL> >        src/bar on the machine foo into the /data/tmp/bar directory on the
DVL> >        local machine. The files are transferred in "archive" mode,  which
DVL> >        ensures  that  symbolic  links,  devices, attributes, permissions,
DVL> >        ownerships etc are preserved in the transfer.  Additionally,  com-
DVL> >        pression  will  be used to reduce the size of data portions of the
DVL> >        transfer.
DVL> > 
DVL> > Ну нигде я в мане не нашел про то, что -a обязательно для того, чтобы закачало!
DVL> 
DVL> Вы не до конца manpage процитировали:
DVL> -a, --archive
DVL> 	This is equivalent to -rlptgoD. It is a quick way of saying you want
DVL> 	recursion and want to preserve everything.

У меня нет такого! Вот:
...
        -c, --checksum              always checksum
        -a, --archive               archive mode
        -r, --recursive             recurse into directories                      
....

DVL> В принципе, для рекурсии "-r" достаточно; согласитесь, что рекурсия - это
DVL> очевидно в данном случае.

Вообще-то я один файл качать хотел. Потому рекурсию и не включал.


--
Best regards!
Igor Solovyov
Zlatoust, Russia




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