Recurisvely sort files by file size


/ Published in: Bash

If you only want to show directories, replace "-type f" with "-type d".


Copy this code and paste it in your HTML
  1. find . -type f -exec du -sk {} \; | sort -nr

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.