Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #7891

Re: is there a cp command feature showing the percentage progress of copying?

From Bit Twister <BitTwister@mouse-potato.com>
Newsgroups comp.os.linux.misc
Subject Re: is there a cp command feature showing the percentage progress of copying?
Date 2013-04-17 22:23 +0000
Organization A noiseless patient Spider
Message-ID <slrnkmu8d6.592.BitTwister@wb.home.test> (permalink)
References <0b78f734-80d7-4161-a1b9-138539c40232@googlegroups.com> <QKDbt.457638$BV7.294575@newsfe24.iad>

Show all headers | View raw


On Wed, 17 Apr 2013 20:38:08 GMT, unruh wrote:
> On 2013-04-17, www <xsli2@yahoo.com> wrote:
>> I am copying a lot of files from one place to another. It would be helpful for me to know it has finished 20%, 30%, 90% etc. Is there a way to know that?

I have no experience with it, you might try pv

$ man pv 
PV(1)                                                User Manuals                                                PV(1)

NAME
       pv - monitor the progress of data through a pipe

SYNOPSIS
       pv [OPTION] [FILE]...
       pv [-h|-V]

DESCRIPTION
       pv allows a user to see the progress of data through a
       pipeline, by giving information such as time elapsed,
       percentage completed (with progress bar), current throughput
       rate, total data transferred, and ETA.

       To use it, insert it in a pipeline between two processes, with
       the appropriate options.  Its standard input will be passed
       through to its standard output and progress will be shown on
       standard error.

       pv will copy each supplied FILE in turn to standard output (-
       means standard input), or if no FILEs are speci‐ fied just
       standard input is copied. This is the same behaviour as cat(1).

       A simple example to watch how quickly a file is transferred using nc(1):

              pv file | nc -w 1 somewhere.com 3000

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

is there a cp command feature showing the percentage progress of copying? www <xsli2@yahoo.com> - 2013-04-17 11:45 -0700
  Re: is there a cp command feature showing the percentage progress of copying? Richard Kettlewell <rjk@greenend.org.uk> - 2013-04-17 20:31 +0100
  Re: is there a cp command feature showing the percentage progress of copying? unruh <unruh@invalid.ca> - 2013-04-17 20:38 +0000
    Re: is there a cp command feature showing the percentage progress of copying? John Hasler <jhasler@newsguy.com> - 2013-04-17 16:07 -0500
      Re: is there a cp command feature showing the percentage progress of copying? Marc Haber <mh+usenetspam1118@zugschl.us> - 2013-04-18 11:29 +0200
        Re: is there a cp command feature showing the percentage progress of copying? unruh <unruh@invalid.ca> - 2013-04-18 15:44 +0000
          Re: is there a cp command feature showing the percentage progress of copying? Marc Haber <mh+usenetspam1118@zugschl.us> - 2013-04-18 18:38 +0200
            Re: is there a cp command feature showing the percentage progress of copying? unruh <unruh@invalid.ca> - 2013-04-18 16:50 +0000
              Re: is there a cp command feature showing the percentage progress of copying? Marc Haber <mh+usenetspam1118@zugschl.us> - 2013-04-18 23:32 +0200
                Re: is there a cp command feature showing the percentage progress of copying? unruh <unruh@invalid.ca> - 2013-04-18 23:13 +0000
                Re: is there a cp command feature showing the percentage progress of copying? Richard Kettlewell <rjk@greenend.org.uk> - 2013-04-19 08:57 +0100
                Re: is there a cp command feature showing the percentage progress of copying? Marc Haber <mh+usenetspam1118@zugschl.us> - 2013-04-19 13:31 +0200
    Re: is there a cp command feature showing the percentage progress of copying? Bit Twister <BitTwister@mouse-potato.com> - 2013-04-17 22:23 +0000
      Re: is there a cp command feature showing the percentage progress of copying? Robert Riches <spamtrap42@jacob21819.net> - 2013-04-18 03:53 +0000
  Re: is there a cp command feature showing the percentage progress of copying? "Chris F.A. Johnson" <cfajohnson@gmail.com> - 2013-04-17 16:53 -0400
    Re: is there a cp command feature showing the percentage progress of copying? Chick Tower <c.tower@deadspam.com> - 2013-04-19 01:05 +0000
      Re: is there a cp command feature showing the percentage progress of copying? Whiskers <catwheezel@operamail.com> - 2013-04-23 15:23 +0100
  Re: is there a cp command feature showing the percentage progress of copying? Kirk_Von_Rockstein <Kirk_Von_Rockstein@nowhere.invalid> - 2013-04-17 22:44 +0000
    Re: is there a cp command feature showing the percentage progress of copying? Kirk_Von_Rockstein <Kirk_Von_Rockstein@nowhere.invalid> - 2013-04-17 23:04 +0000
  Re: is there a cp command feature showing the percentage progress  of   copying? Fritz Wuehler <fritz@spamexpire-201304.rodent.frell.theremailer.net> - 2013-04-20 00:37 +0200
    Re: is there a cp command feature showing the percentage progress  of copying? Aragorn <stryder@telenet.be.invalid> - 2013-04-20 18:21 +0200
    Re: is there a cp command feature showing the percentage progress  of   copying? Robert Riches <spamtrap42@jacob21819.net> - 2013-04-21 03:41 +0000
  Re: is there a cp command feature showing the percentage progress of copying? www <xsli2@yahoo.com> - 2013-04-22 05:36 -0700
    Re: is there a cp command feature showing the percentage progress of copying? root <NoEMail@home.org> - 2013-04-22 14:55 +0000
    Re: is there a cp command feature showing the percentage progress of copying? Chris Davies <chris-usenet@roaima.co.uk> - 2013-04-22 16:11 +0100
    Re: is there a cp command feature showing the percentage progress of copying? Kirk_Von_Rockstein <Kirk_Von_Rockstein@nowhere.invalid> - 2013-04-22 17:36 +0000

csiph-web