rsync
>>>>> "AC" == Artem Chuprina <ran@ran.pp.ru> writes:
[…]
AC> Когда у тебя прорва файлов и ты точно знаешь, что тебе их надо
AC> скопировать из одной директории в другую не глядя, надо сделать это
AC> один раз и на линуксе, cp -a в норме будет быстрее, чем rsync -a,
AC> не вопрос. Потому что не будет читать даже целевое дерево, не
AC> говоря уже о файлах (интересно, у rsync есть противоестественный
AC> интеллект на тему "если копирование локальное, не считать
AC> контрольные суммы и дельты, а гнать файл не глядя"?
Похоже, что есть.
--cut: rsync(1) --
-W, --whole-file
With this option rsync’s delta-transfer algorithm is not used
and the whole file is sent as-is instead. The transfer may be
faster if this option is used when the bandwidth between the
source and destination machines is higher than the bandwidth to
disk (especially when the "disk" is actually a networked
filesystem). This is the default when both the source and des‐
tination are specified as local paths, but only if no batch-
writing option is in effect.
--cut: rsync(1) --
AC> и если он есть, то хорошо ли это для копирования на флешки?)
Перед копированием, rsync(1), в отличие от cp(1), может сравнить
m-time и длину файлов, и не копировать в случае совпадения. Для
cp(1), IIRC, есть только --update.
[…]
--
FSF associate member #7257 Coming soon: Software Freedom Day
http://mail.sf-day.org/lists/listinfo/ planning-ru (ru), sfd-discuss (en)
Reply to:
- References:
- Re: dd
- From: Artem Chuprina <ran@ran.pp.ru>
- Re: dd
- From: Иван Лох <loh@1917.com>
- Re: dd
- From: Artem Chuprina <ran@ran.pp.ru>