mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-10 22:47:03 +00:00
Update cheatsheets
This commit is contained in:
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> 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>.
|
||||
> More information: <https://manned.org/compsize>.
|
||||
|
||||
- Calculate the current compression ratio for a file or directory:
|
||||
|
||||
@@ -15,8 +15,8 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Don't traverse filesystem boundaries:
|
||||
|
||||
`sudo compsize --one-file-system {{path/to/file_or_directory}}`
|
||||
`sudo compsize {{[-x|--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}}`
|
||||
`sudo compsize {{[-b|--bytes]}} {{path/to/file_or_directory}}`
|
||||
|
||||
Reference in New Issue
Block a user