tqdm
Show progress over time of a command. tldr-pages
On several platforms
Several platforms
Show iterations per second and use stdout afterwards
seq 10000000 | tqdm | commandIdentifyCreate a progress bar
seq 10000000 | tqdm --total 10000000 | commandIdentifyCreate an archive out of a directory and use the file count of that directory to create a progress bar
zip --recurse-paths path/to/archive.zip path/to/directory | tqdm --total $(find path/to/directory | wc --lines) --unit files --nullIdentifyTrips 1 Sigma rule: informationalFile and Directory Discovery - Linux by Daniil Yugoslavskiy, oscd.community, CheraghiMilad
Create an archive with tar and create a progress bar (system agnostic, GNU tar uses stdout while BSD tar uses stderr)
tar vzcf path/to/archive.tar.gz path/to/directory 2>&1 | tqdm --total $(find path/to/directory | wc --lines) --unit files --nullIdentify-vVerbose display toybox-zgzip compression toybox-cCreate toybox-ftar FILE (default -) toyboxTrips 1 Sigma rule: informationalFile and Directory Discovery - Linux by Daniil Yugoslavskiy, oscd.community, CheraghiMilad