Search using partial file name?

I know this issue has been addressed before, but I haven't found a satisfactory answer.
I use the Search field in the toolbar to search for files on my external drive. That external drive contains a file named "housefly.psd." When I search for "house" using the File Name filter and with columns set to Kind, all the Photoshop files that begin with "house" appear at the top of the window, including the file I'm searching for.
But if I search for "fly," the "housefly.psd" file doesn't appear in the list at all, although files containing the word "fly" with a space before the word show up in the list (e.g. - "big fly.psd").
Users aren't always going to remember the initial characters in a file name they want to find. So how do I find the file if I only remember some of the internal characters?
Thanks,
Andy
iMac, OS 10.6.8

Andy Tubbesing wrote:
if I search for "fly," the "housefly.psd" file doesn't appear in the list at all, although files containing the word "fly" with a space before the word show up in the list (e.g. - "big fly.psd").
Yeah, isn't Spotlight great?! Give this example to all the experts who gush about Spotlight.
What you see is how Spotlight was designed to work -- at least for hoi polloi like us. The query looks for words, not strings. "Fly" is one word, "big fly" is two words, but "housefly" is one word. It contains the string "fly", but not the word "fly". Now, if you had had the foresight and forethought to name your file "HouseFly", then probably Spotlight would have found it, "Fly", unlike "fly" being, by the rules of the Apple wallahs, a word, not a string. Is that all? No, of course not, that would have been too simple. Spotlight also has hidden somewhere a private list of exceptions. So "books" in "Audiobooks" is always a word, no matter how capitalised; but in "Cookbooks" it's just a mere string, and hence not worthy of notice.
How do you get around this (without using Terminal)?
(1) One way is to construct a query, as already suggested, with the Filename and Contains. But, beware! if you're searching in Finder, and you've already entered a string in the Spotlight search field on the toolbar, the query constructed thus will be restricted to the hits of the query already in the search field. So, if you've enter "fly" in the window toolbar search field, and then construct a Filename Contains "fly" query, you'll find nothing, because any subset of the ∅ (empty set) is also empty. This restriction applies to any query thus constructed.
(2) If you are a real, hair-chested, red-blooded Mac user, you don't use namby-pamby Filename queries. You go straight for the jugular. In the pop-up menu, instead of "Filename", choose "Other...". Then scroll through the interminable list to "Raw Query" and enable it. Then type in the Raw Query search box
kMDItemFSName == *fly*
Note 1: "*fly*", not "*fly", because the Item's File System Name is "housefly.psd".
Note 2: You can use the keyword "name" in the window toolbar Spotlight search field, thus
name:housefly
However, this one doesn't take wildcards.
(3) If you happen to be just a normal person, who uses a computer to be productive and not to exercise one's fingers by typing lengthy and abstruse keywords (or as a Rorschach test to have fun divining the inscrutable minds of Apple engineers), then my suggestion is to give Spotlight the widest possible berth and use something else. I suggest Find File by John R Chang, Find Any File by Thomas Tempelmann, and EasyFind by Christian Grünenberg.

Similar Messages

  • How can i search for multiple file names (images) in bridge?

    Hello everyone!
    Does anyone know how to search for multiple file names in bridge?
    That is to copy & paste something like this: _MG_2152, _MG_2177, _MG_2194, _MG_2195, _MG_2202, _MG_2212, _MG_2219, _MG_2261, _MG_2362, _MG_2401
    Not using several criterias in the search box that is. That takes too long.
    Thanks
    Steffen Rikenberg Photographer
    Oslo, Norway.
    www.steffenrikenberg.no

    Try this add-on [https://addons.mozilla.org/it/firefox/addon/find-all/ Find All]

  • Searching for a file name?

    Hey Guys,
    Is there a way to fine the name of a text file? For example, I have 3 files 1235.txt, 2568.txt, and 2568.txt. I need to find one of these files and write user info into each one and then update the file with current user info.
    I was just wonder if there is anyway you could search for a file name?
    The reason I need to do this is because I want to store user details into seperate files, because I don't really want to use a random access file and using one file for all the users seems alot harder, when finding a file users info...
    Thanks Guys,
    The 31st Cook
    PS. I will post the code if required.... Thanks Again

    O yeah, I remember (google refresh my memory) this is what we were going to use in the first place except.. Because we must demo the program on completely locked down computers we can't install the drivers (that's what I was told) So, we can't use it...

  • How do I get files from multiple DVDs that are using thesame file names?

    How do I get files from multiple DVDs that are using thesame file names? Message says "file already exists in catalog"
    Message was edited by: marcr56

    marcr56
    I am viewing your question from different perspective, that is, the issue that you face when you are ripping VOBs from a second DVD-VIDEO on DVD disc using Premiere Elements,
    It is best to give the Premiere Elements version and computer operating system that it is running on. In the absence of that, I will generalize.
    Assuming that you are using
    Premiere Elements 12
    Add Media
    "DVD Camera or Computer Drive"
    Video Importer
    Typically the Video Importer Save In: is C:\Users\Owner\Videos
    Each of your DVD discs is going to have the same names for the ripped VOBs (VTS_01_1.VOB and so on depending on the duration of the movie). Consequently, after the ripping of the first DVD's VOBs and their save to Videos, you will end up with that "files already existing..." block for the ripping of the VOBs from the second DVD.
    The answer is, for each DVD disc VOB ripping, to plan ahead and create and set for different folders in Videos in the Save In field of the Video Importer.
    Please review and then let us know if that works for you. Please do not hesitate to ask if you need clarification on anything that I have written.
    Thank you.
    ATR.

  • Automatically using a file name as a caption in Adobe Photoshop Elements 8

    Hello!
    I am trying to import a group of photos that have file names which describe the photo. Is there a way for PSE to automatically caption imported images using the file name as a caption?

    Buy PSE9 or wait another month or two and buy PSE10 when it comes out.

  • Creating Map IDs using HTM File Name

    Is it possible to create Map IDs using the File name of the HTM, instead of its Topic Title?

    While Generating Map IDs, we get an ID along with a Map # for each HTM in the CSH.
    For Example, I have a HTM in my CSH with the following Details:
    Topic Title - Access Masks
    File Name - admpr00001.htm
    Now when I create a Map ID for this page. I can customise the Map ID by setting any/all of the three options: - 'Prefix Map IDs with', 'Make Uppercase' and 'Start Numbering with'. But the Map ID is generated only based on the Topic Title.
    Like - ebACCESS_MASKS 1000   where, eb is the set prefix.
    Is it possible for me to create a MAP ID using the File Name. In this case, as ebadmpr00001 1000?
    Hope I am clear .

  • Using Finder search not displaying file names

    I'm running 10.6.4 and searching from the finder on an Xserve for a file name 00035.png but it's not showing in the results.
    Any ideas?

    To clarify your question, when you perform the file search through finder, at the bottom of the window is there a place where it says "x items" and is the number shown there greater than zero?
    I am having trouble understanding if your search is returning results but they aren't being displayed, or if you're searching for a file you know is on your drive, but it's not being identified.
    Regards,
    -Ryan

  • Automator script search document for file name, and rename file to date

    Hi all,
    I'm having a hard time with Automator... and I can't figure out how it's done!
    Searched the web for it a couple of times, spend hours with Automator already, but I guess my need is random!
    The thing is:
    I got a folder with 1066 files, all the files has random names.....
    I got a document (now it's html, but can convert it to PDF or txt or so ever....) with the coressponding random file names in the html.... some words before that there is the date the photo was taken in this format: 08/25/11
    Now I want somehow make automator search that folder each filename... match it in the document with the filename, and rename the files in the folder to the date the photo's were taken.... and that for all 1066 files.....
    anybody a great idea? Some help? I'm a real newby at Automator scrips!
    thanks

    Have you considered A Better Finder Rename 9?
    A Better Finder Rename 9: The Batch File Renamer for Mac OS X
    Otherwise, what you propose seems to be rather like carving the Pieta using a plastic butter knife. But, if you want, here's one example of a rough algorithm to start ...
    * translate the HTML to ASCII text in this format:  filename (date)
    * read one line at a time from the ASCII file
    * for each line, search the folder for the file
    * rename the file according to the (date)
    BTW, you might avoid a strict renaming according to just the date.
    Best luck with this project.
    JJW

  • Change search options to FILE NAME only

    Is there a way to change the search options to always search for FILE NAME only?
    I don't know who'd saech for contents every time, that would seem like a last resort if you couldn't find what you are originally looking for and forgot the file name. We have 10's of thousands of files and having the stupid contents pop up EACH time I want to do a search wastes so much time.
    Help!

    The only way to bypass the crippled Spotlight search is to use a tailored savedSearch. This is what I use. The system files allows finding things in the stupidly hidden user's Library:

  • Custom metadata fields used in file name?

    Hi,
    Is it possible to add to the list of meta data fields that are used as tokens for file names?
    I've been using Rob Cole's excellent custom meta data in the library module and now I want to use these fields to name the file during export...
    While at it, is it possible to add the same custom meta data fields to the info view overlay in develop mode?
    Cheers,
    Bonny

    1.  Its possible an export filter (post-process action) could be defined that supports the custom metadata for export filenaming (Lightroom itself does not have any other hooks I'm aware of) - dunno if anyone's done that, yet.
    2.  I think not (see PM).
    Rob

  • Can I script the changing of creation date, using the file name?

    Normally people are doing this in reverse, but let me paint the picture.
    I pulled 204 video files from an old HDD based JVC camera.  JVC records in .MOD format which iPhoto won't import.  I imported them into iMovie just fine, and iMovie even set the file name to clip-2007-11-04 04;42;29.mov which is great, but it now has a new creation date of whatever date I imported it.  Which then causes problem when I want the videos stored in iPhoto and sorted appropriately by creation date.
    I've used the application "A Better Finder Attributes 5" to individually edit the creation and modify, but I'm sure I don't want to do this 203 more times, as you can't just type in the date and time, you have to type in each part of the date/time, or select it on a calendar.
    I've used the application "Name Changer" to batch convert the file names to the format YYYYMMDDhhmm which would be helpful if I were going to use the terminal command touch -t, but again I don't want to have to type it in 203 more times, plus drag and drop the file into finder to populate the location.
    Now, if I were more handy with automator, or maybe some (any) scripting language this would be easy peasy.  I'd batch rename all the files to the YYYYMMDDhhmm.mov and then have a script that just took the file name, passed that to touch -t along with the file location, and a few seconds later, they would all be done!
    Anybody have any suggestions to how I can do this, and tips to what commands to use or ANY advice?  I'm more than happy to RTFM, but I have no idea which manual to read!
    Thanks

    If your file names are precisely as you have written, this script will do what you want.
    Copy the script into an AppleScript Editor document, select one or more files in a Finder window, return to the AS Editor and press Run.  Note: you will need to provide your password when the script runs.
    Make sure you have a backup of any files you are working on (try using duplicates first, perhaps). The script has no error handling.
    tell application "Finder"
              set FileList to selection
              repeat with theFile in FileList
                        set fileName to name of theFile
                        set filePath to quoted form of (POSIX path of (theFile as alias))
                        set crYear to text 6 thru 9 of fileName
                        set crMonth to text 11 thru 12 of fileName
                        set crDay to text 14 thru 15 of fileName
                        set crHour to text 17 thru 18 of fileName
                        set crMins to text 20 thru 21 of fileName
                        set crDate to crYear & crMonth & crDay & crHour & crMins
                        set shellString to "touch -t " & crDate & " " & filePath
      do shell script shellString with administrator privileges
              end repeat
    end tell

  • An app to search photos by file name in ipad..

    Hello Everyone,
    Hi this is romit. I am looking for an application in which one can search all images in ipad by its name.
    For instance: in Mac we have spotlight to find an app by its name, no matter whats the location or type of app it is. provided the name and there you go.
    In  windows OS we search box to find anything by its name. So I am looking for an app in Ipad which will give me result of provided photo with that file name.
    If ANYONE KNOWS SUCH AN APP PLEASE REVERT TO THIS. IT WILL BE OF GREAT HELP.HNAK
    Thanks apple,
    people,
    & the almighty
    Cheerios...!

    Photos on an iPad do not have meaningful file names.   If you synced Photos through iTunes their file names are turned into number sequences (ie img_95040.jpg).  There is nothing to search for that would be of any relevance, hence no to application really do this that I know of.

  • Save each page of a multi-page document as a separate file using spawned file names with javascript

    Hello
    We are currently changing our hard-copy personnel files and converting them to pdf files.  We have scanned the entire file into one multi-page document.
    I am wanting to save each page (or groups of pages) as separate files.
    In order to facilitate this, I have duplicated field names--such as FirstName, LastName, EmpNo on each page.  This information should be static for the entire file.
    However--I also need information that will change for each individual "page" or document--such as TypeOfDoc, Date, etc.  I have used the Spawn fields using the overlay method on each of the pages in the document.  Then I went in and filled in the information for each page of the document--such as TypeOfDoc, DateOfDoc.
    Now I want to save each page of the document as a separate file using the field names as the file name.
    I first created an action that would split all the pages into separate files and save them into a folder.
    Then I want to save each file as a specific file name based on the information in the fields.
    My problem is obtaining the name of the spawned field name.  The rest of the field names I am not having a problem with.
    This is what I have so far to name the file.
    // Get the field value
    var oPage = this.pageNum;
    var fn = getField("P" + oPage + ".TEMPLATE.DateOfDoc").valueAsString + getField("FirstName").valueAsString + "-" + getField("LastName").valueAsString;
    // Specify the folder
    var fldr = "/n/Personnel/ScannedDocuments/NAMEDPAAS/";
    // Determine the full path
    var fp = fldr + fn +".pdf";
    // Save the file
    myTrustedSpecialTaskFunc(this, fp);
    This code is also accompanied with folder level scripts.
    My problem is obtaining the name of the spawned fields using javascript.  Each document has several pages--so I would like to obtain the field name through script.
    I receive the following error.
    TypeError: getField("P" + oPage + ".TEMPLATE.DATE") is null
    I think this is due to the fact that I have extracted all the pages as individual files.
    If I were to do the above, but not extract the pages first--I do not know how to just save one page at a time.
    Please help.  This is a massive project, and if we have to save each file individually, it will take a lot of time.
    I am a beginner, so any assistance is appreciated.
    Thank you

    I am not understanding exactly where to put the curly brackets.  I have tried two different ways, and still get the same error.
    This is one way
    var oPage = this.pageNum;
    // Specify the folder
    var fldr = "/n/Personnel/ScannedDocuments/NAMEDPAAS/";
    // Determine the full path
    var fp = fldr + fn +".pdf";
    for (var i = 0; i < this.numPages; i++) 
    var fn = getField("P" + oPage + ".template.DateOfDoc").valueAsString + getField("FirstName").valueAsString + "-" + getField("LastName").valueAsString;
    {this.extractPages({  
    nStart: i,  
    cPath : fldr + fn + ".pdf"
    The other is this
    var oPage = this.pageNum;
    // Specify the folder
    var fldr = "/n/Personnel/ScannedDocuments/NAMEDPAAS/";
    // Determine the full path
    var fp = fldr + fn +".pdf";
    for (var i = 0; i < this.numPages; i++) 
    var fn = getField("P" + oPage + ".template.DateOfDoc").valueAsString + getField("FirstName").valueAsString + "-" + getField("LastName").valueAsString;
    this.extractPages({  
    nStart: i,  
    cPath : fldr + fn + ".pdf"
    Thank you for your help.

  • Can an Adobe search contain many file names to be retrieved in mass?

    In any Adobe product, is there a way to cut and paste a large list of file names, in one search, to be retrieved from a data base of 100,000+ searchable .pdf files?  What is the maximum file names allowed in one search?  Can you "mass" print (or save) the results of the search?
    We need a software product that can search for file names (entry numbers) within a huge searchable .pdf data base and retrieve the specific files listed on search to be printed or saved in mass.  Does anyone know if Adobe offers such a product?  I have read the specifics regarding Adobe search within the products, but I did not come away with the impression that Adobe could perform the type searches we are looking for?
    Please advise if you know of any software product that could mass extract specific files from data base into a print queue.
    Thank you so much!

    [discussion moved to Creating, Editing & Exporting PDFs forum]

  • Search for a file name by time stamp

    Powershell allows us to append the date faily easily to a file name (eg. "test.txt $(get-date -f dd-MM-yyyy).txt").  I'm looking for a simple script to search for a powershell script by a static name with todays date appended.  I
    then want to move that file to a another location and rename it. For example lets say the file name is test.txt always and a 3rd party software names it to test12-9-14.txt daily so tommorow it would be test12-10-14.txt and so on.  Each day I need
    to take the file testxx-xx-xxxx.txt from the the c:\ drive and move it to the w:\ drive and change the name from testxx-xx-xxxx.txt to test.csv.

    I found the typo mm instead of MM which was my problem from the beginning.  MM represents month not mm.  A simple mistake that costed a lot of time.  Thanks Mike
    Cheers, you're very welcome. Glad I could help out.
    Don't retire TechNet! -
    (Don't give up yet - 13,085+ strong and growing)

Maybe you are looking for

  • Refresh Table Data after dialog window is closed.

    My JDeveloper version is 11.1.1.6.0 I have a master-detail scenario where in Master records(Table Component) are displayed in top half of the splitter panel. Detail records are displayed in second half of the splitter control using table components p

  • IPod Nano lacks important feature which Shuffle has

    I got myself a shuffle a few months ago and I think it's great. Recently I started wanting a screen to navigate through my music so I upgraded to the Nano. I've got a lot of music in iTunes and all of it is around 320aac or lossless. So what am I get

  • Workflow configuration problem

    hi i have installed oracle database 10.2 .now am trying to install to workflow server from companion CD.after successful installation when i start configuration of workflow server it gives me error. java.lang.exception:invalid connection(0) please he

  • Error in JMS Sender (CPALookupException)

    Hi, I have a JMS to SOAP Sync scenario, and i'm getting an error while returning answer to JMS. the error is: com.sap.aii.af.service.cpa.impl.exception.CPALookupException : Couldn't retrieve binding for the given channelID: can someone help ? changin

  • How to make layer shake

    Hello guys, when I need to make my layer shake like earthquake, I select desired layer, turn "record button" on, hit play, click and hold on the layer and rapidly move it to every direction, recording that motion. Tens and hundreds of keyframes are r