Pasted
Archive
Bash - Display all distinct file types in a directory
deeejay
|
PRO
|
03/30/16 03:35:39 PM UTC
|
0 ⭐
|
230 👁️
|
Never ⏰
|
[]
Bash
|
60 B
|
None
|
0 👍
/
0 👎
Raw
Download
Clone
Embed
Print
View
Choose
Raw
Download
Clone
Embed
Print
View
find . -type f | perl -ne 'print $1 if m/\.([^.\/]+)$/' | sort -u
Comments
Comments