tqdm
Show progress over time of a command. More information: https://tqdm.github.io/docs/cli/.
- Show iterations per second and use
stdoutafterwards:
| tqdm |
- Create a progress bar:
| tqdm --total |
- Create an archive out of a directory and use the file count of that directory to create a progress bar:
zip | tqdm --total $(find | wc ) --unit files --null
- Create an archive with
tarand create a progress bar (system agnostic, GNUtarusesstdoutwhile BSDtarusesstderr):
tar vzcf 2>&1 | tqdm --total $(find | wc ) --unit files --null
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
