You're viewing a comment by Anonymous and its responses.

Anonymous Permalink
July 28, 2011, 15:28

Sometimes, pv(1) doesn't help. For example, `tar cf - foo | bzip2 -9v >foo.tar.bz2'. You don't know the size of the data that needs to pass down the pipe. But I sometimes find watching tar(1) open the files to read is handy; `strace -e trace=open $(pidof tar)'.

Comment Responses

alexandru Permalink
October 25, 2011, 01:11

Well, strace is useful for many things but for what you do the -v parameter of tar is enough, you'll get the list of files added to / extracted from the archive...

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "linux_126": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.