Exemplos
$ pv file | nc -w 1 somewhere.com 3000
$ cat file | pv -s 12345 | nc -w 1 somewhere.com 3000
$ (tar cf - . | pv -n -s $(du -sb . | awk ’{print $1}’)| gzip -9 > out.tgz) 2>&1 | dialog --gauge ’Progress’ 7 70
$ (tar cf - file1.txt file2.txt | pv -n -s $(du -sb . | awk '{print $1}')| gzip -9 > out.tgz) 2>&1 | dialog --gauge 'Progress' 7 70
No comments:
Post a Comment