Advertisement
bogdanborovskij

a8find

Jan 22nd, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. #!/bin/bash
  2. find $1 -type f -name "*\.*" | grep -v ".*/\..*" | rev | cut -d "." -f -1 | rev | sort | uniq -c | awk '{print $2 " - " $1}'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement