pdu [OPTIONS] [FILES]...[FILES]...: List of files and/or directories.
Read JSON data from stdin.
Print JSON data instead of an ASCII chart.
- Aliases:
-b. - Default:
metric. - Choices:
plain: Display plain number of bytes without unitsmetric: Use metric scale, i.e. 1K = 1000B, 1M = 1000K, and so onbinary: Use binary scale, i.e. 1K = 1024B, 1M = 1024K, and so on
How to display the numbers of bytes.
- Aliases:
-H,--detect-links,--dedupe-links.
Detect and subtract the sizes of hardlinks from their parent directory totals.
Print the tree top-down instead of bottom-up.
Set the root of the bars to the right.
- Aliases:
-q. - Default:
block-size. - Choices:
apparent-size: Measure apparent sizesblock-size: Measure block sizes (block-count * 512B)block-count: Count numbers of blocks
Aspect of the files/directories to be measured.
- Aliases:
-d,--depth. - Default:
10.
Maximum depth to display the data. Could be either "inf" or a positive integer.
- Aliases:
-w,--width.
Width of the visualization.
Maximum widths of the tree column and width of the bar column.
- Aliases:
-m. - Default:
0.01.
Minimal size proportion required to appear.
Do not sort the branches in the tree.
- Aliases:
-s,--no-errors.
Prevent filesystem error messages from appearing in stderr.
- Aliases:
-p.
Report progress being made at the expense of performance.
- Default:
auto.
Set the maximum number of threads to spawn. Could be either "auto", "max", or a positive integer.
Do not output .shared.details in the JSON output.
Do not output .shared.summary in the JSON output.
- Aliases:
-h.
Print help.
- Aliases:
-V.
Print version.
pdupdu path/to/file/or/directorypdu file.txt dir/pdu --quantity=apparent-sizepdu --deduplicate-hardlinkspdu --bytes-format=plainpdu --bytes-format=binarypdu --min-ratio=0pdu --min-ratio=0.05pdu --min-ratio=0 --max-depth=inf --json-output | jqpdu --json-input < disk-usage.json