This command takes more time to process than the classic du . | sort -n , but in the result sizes are printed in human redable format:
[pene@donunix] du . | sort -n | awk '{print $2}' | xargs du -hs
List and sort by sizes all directories and files (in human readable format)
tags :
files and directories,
shell-script
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment