On 15/11/2024 15:40, Joakim Lindblad wrote:
I'm often using 'wc' for stuff that takes a long time, e.g. 'tar -tf big.tar |
wc -l' to count the
files in an archive.
Here I am lacking some intermediate feedback from the process.
Does a "--progress" version of 'wc' exist? I am envisioning a contin
On 11/15/24 09:40, Joakim Lindblad wrote:
I'm often using 'wc' for stuff that takes a long time, e.g. 'tar -tf
big.tar | wc -l' to count the
files in an archive.
Here I am lacking some intermediate feedback from the process.
tar -tv big.tar | pv | wc -l
http://www.ivarch.com/programs/pv.shtml
I'm often using 'wc' for stuff that takes a long time, e.g. 'tar -tf big.tar |
wc -l' to count the
files in an archive.
Here I am lacking some intermediate feedback from the process.
Does a "--progress" version of 'wc' exist? I am envisioning a continuous count
with a simple
line-wise overwrite