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
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?
6 Hi,
8 How about a rather neat ascii bar,
10 [quote]
11 Copy a file
12 Standard: cp infile outfile
13 With Progress Bar: bar -o outfile infile
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]
20 Not exactly perfect but does work.
22 Thanks
23 Mark
24 --
25 gentoo-user@g.o mailing list


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