Ubuntu-Linux Command Line
Pages
Commands
Wallpapers
Thursday, 1 October 2009
Get the count of files of a specific file type
To know the count of files of a particular type in a directory
~$
find . -name “*.png” | wc -l
~$
find /usr/share/images/ “*.jpg” | wc -l
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment