Skip to content

Automatically use --unit B when using --bytes #503

@alphapapa

Description

@alphapapa

Hi,

tqdm is very useful in tar | gz pipes when used like:

tar c $path | tqdm --unit B --bytes --unit_scale --total $(du -bs $path | cut -f1) | gzip $path

It would be nice if --unit B could be used automatically when --bytes is used.

Thanks for your work on tqdm!

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions