Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Don't know how many.' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Don't know how many.
Authored by: jace on Jul 31, '04 03:53:52AM
In the terminal, go to the folder where your pictures are, and type:
find -type f | wc -l
You can also be specific (don't leave out the quotes):
find -name '*.jpg' | wc -l
I'm assuming you have Fink installed. The OSX find doesn't support the -type or -name parameters. If OSX find is all you have, use:
find | wc -l
But this will give you a count of everything in the folder. All files and folders, including the Finder's .DS_Store files.

[ Reply to This | # ]
Don't know how many.
Authored by: pvk on Aug 01, '04 11:17:10PM
without fink...
 find . | grep -i 'JPG' | wc -l


[ Reply to This | # ]