Hotodogo Posts
Home
Engines
About
Home
Engines
About
CommandLine 002
12:06 Jun 02, 2010
Ezra
UNIX/Linux
列出目录中所有的扩展名:
find
/path/to/dir
-type
f
|
grep
-o
'\.[^./]*$'
|
sort
|
uniq