1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 09:02:08 +02:00
tldr/pages/linux/filefrag.md
marchersimon dac4a71077
multiple pages: replace all die.net links (#5528)
Most of the links were replaced by manned.org,
except when there are more up-to-date sources (like `ifup`)
or first-party sources (like `sftp`).
2021-04-16 15:42:14 +01:00

611 B

filefrag

Report how badly fragmented a particular file might be. More information: https://manned.org/filefrag.

  • Display a report for a specific file:

filefrag {{path/to/file}}

  • Display a report for space-separated list of 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/files}}

  • Display mapping of extended attributes:

filefrag -x {{path/to/files}}

  • Display a report with verbose information:

filefrag -v {{path/to/files}}