Find total size for some files


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



Copy this code and paste it in your HTML
  1. find . -type f -mtime -30 -exec ls -l {} \; | awk '{ s+=$5 } END { print s }'

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.