filefrag

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

filefrag path/to/file1 path/to/file2 ...

filefrag -b path/to/file

filefrag -s path/to/file1 path/to/file2 ...

filefrag -x path/to/file1 path/to/file2 ...

filefrag -v path/to/file1 path/to/file2 ...