tqdm Command Examples

Show progress over time of a command. More information: https://tqdm.github.io/.

{{seq 10000000}} | tqdm | {{command}}

{{seq 10000000}} | tqdm --total {{10000000}} | {{command}}

zip {{[-r|--recurse-paths]}} {{path/to/archive.zip}} {{path/to/directory}} | tqdm --total $(find {{path/to/directory}} | wc {{[-l|--lines]}}) --unit files --null

tar vzcf {{path/to/archive.tar.gz}} {{path/to/directory}} 2>&1 | tqdm --total $(find {{path/to/directory}} | wc {{[-l|--lines]}}) --unit files --null