Programmer's Wiki
Advertisement
16px-Pencil

Problem[]

Count up all the different types of file in a folder to make it easier to organise.

Bash[]

ls|sed "s/^.*\.//" |sort|uniq -c | sort -n


See Also[]

Advertisement