mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-02 23:54:52 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
29
tldr/linux/filefrag
Normal file
29
tldr/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