deeejay

Bash - Total specific files in a directory

Apr 24th, 2014
376
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.07 KB | None | 0 0
  1. find . -type f -name "*2014*" -ls | awk '{total += $7} END {print total}'
Advertisement
Add Comment
Please, Sign In to add comment