compsize
linux
Calculate the compression ratio of a set of files on a btrfs filesystem. See also: `btrfs filesystem`.
More info →Options (2)
-x, --one-file-systembooleanDon't traverse filesystem boundaries
Example:
sudo compsize {{[-x|--one-file-system]}} {{path/to/file_or_directory}}-b, --bytesbooleanShow raw byte counts instead of human-readable sizes
Example:
sudo compsize {{[-b|--bytes]}} {{path/to/file_or_directory}}Examples (3)
Calculate the current compression ratio for a file or directory
made by @shridhargupta | data from tldr-pages