mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-02 23:54:52 +00:00
Update cheatsheets
This commit is contained in:
@@ -18,11 +18,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Defragment a single file on a btrfs filesystem (avoid while a deduplication agent is running):
|
||||
|
||||
`sudo btrfs filesystem defragment -v {{path/to/file}}`
|
||||
`sudo btrfs filesystem defragment {{[-v|--verbose]}} {{path/to/file}}`
|
||||
|
||||
- Defragment a directory recursively (does not cross subvolume boundaries):
|
||||
|
||||
`sudo btrfs filesystem defragment -v -r {{path/to/directory}}`
|
||||
`sudo btrfs filesystem defragment {{[-v|--verbose]}} -r {{path/to/directory}}`
|
||||
|
||||
- Force syncing unwritten data blocks to disk(s):
|
||||
|
||||
@@ -30,4 +30,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Summarize disk usage for the files in a directory recursively:
|
||||
|
||||
`sudo btrfs filesystem du --summarize {{path/to/directory}}`
|
||||
`sudo btrfs filesystem du {{[-s|--summarize]}} {{path/to/directory}}`
|
||||
|
||||
Reference in New Issue
Block a user