mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-24 22:52:19 +00:00
Update cheatsheets
This commit is contained in:
29
linux/filefrag
Normal file
29
linux/filefrag
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# filefrag
|
||||
|
||||
> Report how badly fragmented a particular file might be.
|
||||
> More information: <https://manned.org/filefrag>.
|
||||
|
||||
- Display a report for one or more files:
|
||||
|
||||
`filefrag {{path/to/file1 path/to/file2 ...}}`
|
||||
|
||||
- Display a report using a 1024 byte blocksize:
|
||||
|
||||
`filefrag -b {{path/to/file}}`
|
||||
|
||||
- Sync the file before requesting the mapping:
|
||||
|
||||
`filefrag -s {{path/to/file1 path/to/file2 ...}}`
|
||||
|
||||
- Display mapping of extended attributes:
|
||||
|
||||
`filefrag -x {{path/to/file1 path/to/file2 ...}}`
|
||||
|
||||
- Display a report with verbose information:
|
||||
|
||||
`filefrag -v {{path/to/file1 path/to/file2 ...}}`
|
||||
Reference in New Issue
Block a user