Skip to content

Instantly share code, notes, and snippets.

@tYGjQCsvVI
tYGjQCsvVI / gist:3914c0d8f248fb8c364f
Created December 26, 2014 21:10
run 'filefrag' against all files recursively, reprint it in a sortable format and sort it.
find . -type f -exec filefrag {} \; | sed -r 's/(.*)\: ([0-9]+) extents? found/\2 - \1/g' | sort -nr