Friday, May 16, 2014

List files in sorted order using 'du'

Listing of all the files (and subdirectories) within a directory along with their sizes in sorted and readable format.

$ sudo du /backup/ -h | sort -h

No comments: