find files by number of charecters in file name

ironchef

Registered
Hi all
i am trying to make an apple script
that will go over a 3.5 Tera of hard disk
find pdf files with names 11 characters long
and copy the files to a selected location.
sadly the find file in automator do not contain this Boolean.
thanks for any help or ponters
 
Easily done from the shell (in Terminal for instance, or with the AppleScript "do shell script" command.)

find /Volumes/MyHardDrive -name '???????.pdf'
 
Back
Top