Progress Bars for piped Transfers Using pv
Jun 26, 2010
I stumbled across pv the other day and found it interesting. It is not so much a utility as eye-candy, but useful non-the-less.
from the man page: 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.
First, install pv with what ever package manager you use.
- # cd /usr/ports/sysutils/pv && make install clean
- # apt-get install pv
- # yum install pv
Using pv is analogous to using cat, only with a progress bar and some extra goodies!
- # pv file.iso | dd of=/dev/cd0 bs=64k
- (server)
- # pv file.iso > nc -l 4444
- (client)
- # nc host 444 > file.iso
Post a New Comment
- Tags
- ALIX (1)
- digitalfoo.net (2)
- embedded (6)
- FreeBSD (25)
- Java (1)
- Linux (20)
- misc (4)
- my projects (1)
- NanoBSD (3)
- opensource (5)
- perl (1)
- PHP (3)
- programming (7)
- security (4)
- Archives
- 2010
- June (5)
- July (2)
- April (6)
- March (2)
- May (1)
- August (2)
- 2009
- August (7)
- July (8)
- April (4)
- May (4)
- December (2)
- June (1)
- September (1)
- November (4)
- October (1)
- Web Tools
- Index
- dig-shovel Live
- SQL Injection Encoder
- Links
-

