ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Ilya Palagin <tux@fioc.kz>
To: community@altlinux.ru
Subject: Re: [Comm] Как узнать сколько ждать, копируя большой файл.
Date: Thu, 16 Jan 2003 23:23:24 +0600
Message-ID: <3E26EA8C.80406@fioc.kz> (raw)
In-Reply-To: <20030116200254.7c36ac97.vahov@dgap.mipt.ru>

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).

(Спасибо Игорю Хомякову за наводку на эту замечательную программу)



  reply	other threads:[~2003-01-16 17:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-16 17:02 Alexey Vakhov
2003-01-16 17:23 ` Ilya Palagin [this message]
2003-01-17  7:50   ` Igor Homyakov
2003-01-18 15:11   ` [Comm] " Michael Shigorin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E26EA8C.80406@fioc.kz \
    --to=tux@fioc.kz \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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