I had no idea that pv existed. I took a look at it, and they are very
similar.
There are a few things that bar offers over pv:
- ANSI color support
- Configurable progress bar characters
- Configurable I/O select() timeout
- Ability to use configuration file(s)
- Displaying of additional blocks of text read from a file during I/O -
think "information to display to the user during file installation" -
that are updated automatically throughout the I/O process (version
1.11.0, yet to be released)
But there are also features in pv that bar lacks:
-n, --numeric - Numeric output suitable for piping to dialog
-W, --wait - Wait until the first byte has been received before printing
anything
-l, --line-mode - Instead of counting bytes, count lines
-R, --remote - Communicate with another instance of pv to modify it's state
For what it's worth,
Michael Peek
Lars Wirzenius wrote:
Dropped debian-devel from the Cc list.
On ma, 2010-08-16 at 21:57 +0200, Georges Khaznadar wrote:
with bar, the replacement would be:
bar -s 4G -if someImageFile -of
/dev/disk/by-id/usb-TheNiceStick_0878101B77D1D977-0:0
pv -petrb someImageFile > /dev/disk/...
(Or pipe to sudo dd of=/dev/disk/... if that's better for you,
permissionwise.)
If pv can't figure out the size of the image file, add "-s 4G".
I haven't tried bar, but from the description it looks very similar to
pv. As far as I care, both are welcome in Debian, but sometimes it is
sensible to ask if duplicate tools to do the same thing are a good idea.
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org