Gentoo Archives: gentoo-user

From: Mark <znxster@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [OT] Progress bar for cp? (was:[gentoo-user] PATH error?)
Date: Mon, 20 Nov 2006 19:49:46
Message-Id: 169ffc030611201142k3c6b46eei2a339eb9948ed911@mail.gmail.com
In Reply to: [OT] Progress bar for cp? (was:[gentoo-user] PATH error?) by Ryan Tandy
1 On 20/11/06, Ryan Tandy <tarpman@×××××××××××××××××.com> wrote:
2 > Which reminds me: now that -g is gone, is there any switch to cp to make
3 > it display a progress bar? Any other (simple) way of getting a progress
4 > bar for large files?
5
6 Hi,
7
8 How about a rather neat ascii bar, http://www.theiling.de/projects/bar.html
9
10 [quote]
11 Copy a file
12 Standard: cp infile outfile
13 With Progress Bar: bar -o outfile infile
14
15 Copy several files to another directory (showing a common progress bar)
16 Standard: cp file1 file2 file2 outdir/
17 With Progress Bar: bar -c 'cat > outdir/${bar_file}' file1 file2 file3
18 [/quote]
19
20 Not exactly perfect but does work.
21
22 Thanks
23 Mark
24 --
25 gentoo-user@g.o mailing list

Replies

Subject Author
[gentoo-user] Re: [OT] Progress bar for cp? Ryan Tandy <tarpman@×××××××××××××××××.com>