* [Comm] Как узнать сколько ждать, копируя большой файл.
@ 2003-01-16 17:02 Alexey Vakhov
2003-01-16 17:23 ` Ilya Palagin
0 siblings, 1 reply; 4+ messages in thread
From: Alexey Vakhov @ 2003-01-16 17:02 UTC (permalink / raw)
To: ALTLinux
Здраствуйте!
Когда копируется большой файл, хочется узнать сколько процентов
выполнено и сколько осталось. В man cp таких опций не нашёл.
--
Алексей Вахов
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Comm] Как узнать сколько ждать, копируя большой файл.
2003-01-16 17:02 [Comm] Как узнать сколько ждать, копируя большой файл Alexey Vakhov
@ 2003-01-16 17:23 ` Ilya Palagin
2003-01-17 7:50 ` Igor Homyakov
2003-01-18 15:11 ` [Comm] " Michael Shigorin
0 siblings, 2 replies; 4+ messages in thread
From: Ilya Palagin @ 2003-01-16 17:23 UTC (permalink / raw)
To: community
Alexey Vakhov wrote:
> Здраствуйте!
> Когда копируется большой файл, хочется узнать сколько процентов
> выполнено и сколько осталось. В man cp таких опций не нашёл.
А нету там никаких "градусников".
Если желание видеть "прогресс" столь же велико, как и файлы, используйте
для копирования star:
Например, скопируем файл bigfile.dat из текущего каталога в /tmp:
star -c bigfile.dat | (cd /tmp ; star -xp)
Кол-во блоков будет появляться по нажатии Ctrl-\ вот в таком виде:
star: 1405 blocks + 0 bytes (total of 14387200 bytes = 14050.00k).
(Спасибо Игорю Хомякову за наводку на эту замечательную программу)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Comm] Как узнать сколько ждать, копируя большой файл.
2003-01-16 17:23 ` Ilya Palagin
@ 2003-01-17 7:50 ` Igor Homyakov
2003-01-18 15:11 ` [Comm] " Michael Shigorin
1 sibling, 0 replies; 4+ messages in thread
From: Igor Homyakov @ 2003-01-17 7:50 UTC (permalink / raw)
To: community
On Thu, Jan 16, 2003 at 11:23:24PM +0600, Ilya Palagin wrote:
> А нету там никаких "градусников".
> Если желание видеть "прогресс" столь же велико, как и файлы, используйте
> для копирования star:
>
> Например, скопируем файл bigfile.dat из текущего каталога в /tmp:
> star -c bigfile.dat | (cd /tmp ; star -xp)
тогда уж вот так:
star -c bigfile.dat | star -xp -C /tmp
> (Спасибо Игорю Хомякову за наводку на эту замечательную программу)
Всегда пож-ста :) сам не нарадуюсь.
--
Igor Homyakov
<homyakov at altlinux dot ru>
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=190141
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Comm] Re: Как узнать сколько ждать, копируя большой файл.
2003-01-16 17:23 ` Ilya Palagin
2003-01-17 7:50 ` Igor Homyakov
@ 2003-01-18 15:11 ` Michael Shigorin
1 sibling, 0 replies; 4+ messages in thread
From: Michael Shigorin @ 2003-01-18 15:11 UTC (permalink / raw)
To: community
On Thu, Jan 16, 2003 at 11:23:24PM +0600, Ilya Palagin wrote:
> >Когда копируется большой файл, хочется узнать сколько процентов
> А нету там никаких "градусников".
Тут вот бегает pipemeter или как его -- который меряет поток.
Тогда cat file | meter > destfile может сработать...
Но вообще эти утилиты скорее неинтерактивные.
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-01-18 15:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-16 17:02 [Comm] Как узнать сколько ждать, копируя большой файл Alexey Vakhov
2003-01-16 17:23 ` Ilya Palagin
2003-01-17 7:50 ` Igor Homyakov
2003-01-18 15:11 ` [Comm] " Michael Shigorin
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git