Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

looking for a file

I have a folder with 500 files in it. I am looking for the one that starts with SUE375.

If I do a repeat with an item, it has to go through 374 before it gets to #375, that takes too long.

If I do set x to every item whose name starts with SUE375.....that takes too long.


is there a quicker way to find this one file in the pile of 500 files.


thanks for any enlightenment.

Posted on Sep 4, 2015 10:28 AM

Reply
22 replies

Sep 4, 2015 3:46 PM in response to Niel

having problems: here is the path to the file:

volumes/256_SSD/Users/shawn/desktop/apaceAD/features/AR213 werwer/AR123 sdfsdf.jpg



when I run this:

set x to (do shell script "ls '/volumes/256_SSD/users/shawn/desktop/apaceAD/features/ar123'*")


it returns the jpg file from above, I just want it to return the folder with the AR123 werner name. I need it to find the AR123 folder in the features folder.

looking for a file

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.