snippets · bash

Files larger than X MB below a path

Findet große Dateien unterhalb eines Pfads.

find {PATH} -type f -size +{SIZE_MB}M -printf '%s %p\n' | sort -nr | head -n {LIMIT}