Show only big files and directories at current directory and subdirs


/ Published in: Bash
Save to your folder(s)

1st shows only files and directories bigger than 1 Megabyte
2nd shows only files and directories bigger than 100 Megabyte


Copy this code and paste it in your HTML
  1. du -h |grep -E '^.{1,3}[MG].*\.\/'
  2. du -h |grep -E '^[^,]{2}[M].*\.\/'

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.