Count files that start with a certain letter
I tried this but got an error
count every file name starts with "A" of folder ProofsOutFolder
Thanks for the help.
Apple Event: May 7th at 7 am PT
set theFolder to choose folder
set theChar to text returned of ¬
(display dialog "Enter Search Character:" default answer "A")
do shell script "find " & quoted form of POSIX path of theFolder & ¬
" -type f -name '" & theChar & "*'|awk 'END{print NR}'"
</pre>
set theFolder to choose folder
set theChar to text returned of ¬
(display dialog "Enter Search Character:" default answer "A")
do shell script "find " & quoted form of POSIX path of theFolder & ¬
" -type f -iname '" & theChar & "*'|awk 'END{print NR}'"
</pre>Count files that start with a certain letter