mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 21:26:02 +02:00
compsize: add page (#5685)
This commit is contained in:
parent
289787c7e8
commit
fc2f118103
1 changed files with 17 additions and 0 deletions
17
pages/linux/compsize.md
Normal file
17
pages/linux/compsize.md
Normal file
|
@ -0,0 +1,17 @@
|
|||
# compsize
|
||||
|
||||
> Calculate the compression ratio of a set of files on a btrfs filesystem.
|
||||
> See also `btrfs filesystem` for recompressing a file by defragmenting it.
|
||||
> More information: <https://github.com/kilobyte/compsize>.
|
||||
|
||||
- Calculate the current compression ratio for a file or directory:
|
||||
|
||||
`sudo compsize {{path/to/file_or_directory}}`
|
||||
|
||||
- Don't traverse filesystem boundaries:
|
||||
|
||||
`sudo compsize --one-file-system {{path/to/file_or_directory}}`
|
||||
|
||||
- Show raw byte counts instead of human-readable sizes:
|
||||
|
||||
`sudo compsize --bytes {{path/to/file_or_directory}}`
|
Loading…
Add table
Reference in a new issue