Monday, July 7, 2014

List and Sort Large Files via find

This will recursively find all files larger than 10MB with the largest files listed last (closest to prompt):

find . -size +10M -printf "%s %f\n" | sort -n -k 1

No comments:

Post a Comment