Nerd Life
Tuesday, June 14, 2011
Useful Commands for Disk Cleanup
Top 20 Largest Files/Folders
du -m --max-depth=4 / | sort -nr | head -n 20
Lists all directories over 1GB
du -h / | grep ^[0-9.]*G
File and Folder Sizes from Current directory
(du -x -s * | sort -n -k1 ) 2>/dev/null
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment