Spotlight can't find kMDItemKind=="Alias" ??

I backed up a bunch of old user accounts from a machine. When you create a user account, one of the folders created is "iChat Icons" within the Pictures folder. Of course, the iChat Icons "folder" is actually an alias.
I am now trying to run a script that has to follow aliases on these folders. However, having it loop through thousands of "iChat Icons" folders is taking forever.
I thought I could just do a smart folder for "iChat Icons" but that doesn't work. A similar search for a kind of "Alias" doesn't pull them up either.
mdfind kMDItemKind=="Alias" finds some aliases scattered around the hard drive, but no where near all of them. If I search for a picture sitting next to the "iChat Icons" alias, it comes up, so the folder appears to be indexed.
Any suggestions? I sure don't want to go through this manually...

Mike -
At one point in time, I was using the computer as a file share, and I wanted each user to have their own log in. It was a hacky set up, but it worked.
When we moved to an actual server, I copied all of the user accounts over to a new machine using Target Disk Mode, and reset all of the permissions. I have yet to go through each folder and copy over each users files to the new location.
So, now I have a ton of user accounts that have all sorts of data I don't care about (like the entire Library folder). I was hoping to just use Spotlight to search for things and delete them in batch (i.e. Kind: Folder, Name: Library). For most of the things that worked fine.
When I attempted to FTP these accounts to a new location, the ftp program is trying to follow any symlinks/Aliases. So, I wanted to find those aliases (the iChat Icons are the only ones I know of so far) and remove them. I thought I could just search for them, but a search for both "iChat Icons" and "Kind: Alias" turns up nothing in those folders.
These aliases were made automatically, although my current machine doesn't have it and it may have only been around in Panther.
In the end, I wrote a PHP script to go through and remove the Aliases, so it seems to be taken care of (assuming no more pop up). I just thought it was odd that Spotlight only seemed to find some aliases.

Similar Messages

  • Spotlight can't find custom label

    spotlight can't find custom labels and also custom labels, could someone know solution? IOS8.1, iphone 6

    And just to be on the safe side, this thread did not solve my problem. Briefly, it's not about Spotlight getting mixed up because of external HDs.
    https://discussions.apple.com/message/12289978#12289978

  • HT3787 How do I find the previous local copy yourMobileMeMembername.sparseimage? Spotlight can't find it.

    This support article explains where the local copy of my iDisk should be within my computer:
    http://support.apple.com/kb/HT3787
    The problem is, Spotlight can't find this file.
    Any tips?

    You can get Firefox 3.6 from http://www.mozilla.com/en-US/firefox/all-older.html

  • Spotlight can't find TextEdit, other apps found ok

    I have a very odd problem. Spotlight can't find TextEdit anymore, even if I type the name of the app fully in the field. The app is right where it should be in the Applications folder. It hasn't been excluded from search and I have done a reindex of Spotlight but the problem persists.
    Other apps come up exactly right.

    And just to be on the safe side, this thread did not solve my problem. Briefly, it's not about Spotlight getting mixed up because of external HDs.
    https://discussions.apple.com/message/12289978#12289978

  • Why my spotlight can not find my personal files ? It can find them before but can not find them now,I want to know why?

    why my spotlight can not find my personal files ? It can find them before but can not find them now,I want to know why?

    From the menu bar, select
     ▹ System Preferences ▹ Spotlight ▹ Privacy
    The list of items excluded from Spotlight indexing is shown (it may be empty.) Click the plus (“+”) icon to add an item to the list. Select your boot volume (under DEVICES) and add it to the list. Then remove it from the list by selecting it and clicking the minus (“-“) icon.
    Spotlight will rebuild the index. If you try to do a Spotlight search now from the magnifying-glass icon in the top right corner of the display, a pulsing dot will appear in the icon. When the dot disappears, the indexing is complete.

  • Since upgrading my iPhone 4 to iOS 5 the spotlight can not find anything., Since upgrading my iPhone 4 to iOS 5 the spotlight can not find anything.

    the spotlight can not find anything or any person form the contact list... by name, surname other details...

    The same on my iPhone 4S with iOS 5.0.1. Must disable the in-Mail search option in General->Spotlight settings menu to make it work again, but you loose all the Mail indexing.

  • Spotlight can't find song text in iTunes

    In iTunes you can type the text of a song in the field: Text - but Spotlight can't find this information.
    But if you copy the same text in Info - and the box: comments - Voila - Here we go!
    It would be a good thing if Spotlight can find all the information you have about your songs - like text from a Dashboard widget - (this text file IS FOUND!)
    Is it possibel for Spotlight to find this information?
    Thanks

    Hi, flemminglimar.
    There's no "Text" field in the Get Info window for any song I have in iTunes. I'm running iTunes 6.0.2.
    If I launch iTunes, Control-Click a song, select Get Info from the resulting context menu, then click the Info tab, there's no Text field therein.
    Have you installed some tool like ID3X for adding lyrics to sounds?
    iTunes now includes a Lyrics tab into which one can type or paste song lyrics. This seems to be a relatively recent addition to iTunes. Adding content to the Lyrics tab of a song file actually writes them inside the song file itself, but Spotlight does not find them. It appears that the Spotlight plug-in for Audio has not been updated since Tiger was released and does not index the lyrics, hence it cannot find songs based on their lyrics.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X

  • Spotlight can't find file (even after re-indexing)

    I have a files right on my desktop that neither spotlight or finder can find in their search results. Don't know when this started happening, but very weird. I've re-indexed several different ways but still no luck. Anybody run into this?

    Baltwo: Thanks for the try, but your answer had no bearing.
    The PROBLEM (which I solved) was that the user (the name with the little house next to it), had had its priveleges changes from Read/Write to Write Only (Drop Box).
    I have no idea how or why that happened, but the result was Spotlight couldn't find anything. Once I put the privelege back to Read/Write, everything works fine now and Spotlight is once again all seeing! The priveleges are those little Sharing and Permissions section at the bottom of the Info summary (Get Info).
    I am back to using Spotlight again and I've made sure any changes to me (the user) are under my lock and key.

  • Spotlight can't find files on my camera's SD card.

    If I do a search (via Spotlight, via the "pill" oval, or via cmd-F) on my 32gb SD card for "RW2" (Panasonic RAW file), I get nothing. If I do the same search on my HDD, I get lots of hits, as there are lots of RW2 files on my machine, but none of the results reside on the SD card. This tells me Leopard can see the files, just not on my SD card.
    The card is FAT32 by neccessity. Is there something I'm doing wrong to not be able to acess the files via Spotlight? EasyFind finds them in 2 seconds.
    Thanks.

    I've had some luck with excluding a drive and then removing the exclusion. This triggers spotlight to reindex a drive, maybe a memory card too?

  • Spotlight Can't Find My Raw Files

    For months now, Spotlight has been unable to find my raw files. If I type .CR2, it finds them just fine, if I type any digit(s) at all before the .CR2, it can't find them. The same problems happen with my older camera that ends raw files .CRW
    I'm not concerned with the metadata, just the file by name.
    Any thoughts?
    Thanks,
    George

    Ah, the difference is between using the "quickie" Spotlight versus the full Command-F, which returns much better results.
    Reading what you are getting strikes me as showing that the metadata importer handling your new camera's files is not working quite right. Thus, I have one drive that is searchable with Spotlight, but not indexed (it is a bit tricky to set it up that way). If I do a quick Spotlight search on "4039" my camera raw files that are on the fully indexed drives all show up, but the copy on the non-indexed drive does not. If I do a full Command-F search, with the two criteria of Kind:Canon Camera and Name Contains 4039, then it does show up. So I would guess that your new files are behving as if they are not fully indexed, and that the camera raw support in the metadata importer is lacking for that camera's files. Perhaps your new camera's raw format is just not fully supported yet. Have you run the latest Camera Raw updater from Apple?
    Also you might try one of the search utilities that doesn't depend on indexing, EasyFind is free:
    http://www.devon-technologies.com/products/freeware/index.html
    You might find you like it better. Because it does a brute force search it can be rather slow. If you restrict it to just the folder that contains images, even if the folder is quite large with many sub-folders, rather than having it do a whole drive, its performance is actually quite fast.
    Francine
    Francine
    Schwieder

  • Spotlight can't find file

    I just saved a file in a subfolder in my documents, but Spotlight is not able to find it. It is a .png file (picture file). Spotlight does however find other files in that folder. I'm searching via filename, not content. If I open the folder, I can see and use the file without a problem. I have copy/pasted the file name to make sure it is not misspelled.
    Any insight into why spotlight is proving useless here will be greatly appreciated. I'm loosing faith in OS X and I'm really sad about it.
    Thanks

    Dimitris, my own suggestion is very simple: forget Spotlight. Disable it using Spotless, which is available here: http://www.versiontracker.com/dyn/moreinfo/macosx/33800
    Then download either, or both Easyfind http://www.versiontracker.com/dyn/moreinfo/macosx/8707 and Find File http://www.versiontracker.com/dyn/moreinfo/macosx/10906315
    I haven't used Spotlight for over a year now, and have even found a way to remove that pesky magnifying glass from my menubar.
    I can find anything I want, any time I want, very fast and simply and above all - reliably.
    <Edited by Moderator>

  • Spotlight can't find anything

    Spotlight is getting to be real disappointing. I have messed around with it for weeks trying to get my processor from overloading on it. Now it can't find anything. Files I KNOW are there in my Documents folder do not show up, instead all I see is hundreds of programming files I don't care about. Preferences do not help. Does anyone have a final solution to this problem?

    Hard to say since the problem isn't too clear. What do you mean when saying the processor is overheating? Do you mean that Spotlight won't finish indexing? As for not finding anything, it works fine as long the indexing is complete and up to date and you always include system files. Which programming files are showing up? Have examples?
    See http://homepage.mac.com/francines/articles/Leopard/leospot.html and http://www.thexlab.com/faqs/stopspotlightindex.html for more details.

  • Spotlight can't find my PDF files.

    Hi all,
    just bought a ipad mini.
    I have downloaded Adobe PDF reader.
    I have placed several pdf files on my device.
    When I use Spotlight to search for a file, it can't find it.
    It does not list any of my pdf files.
    In Settings - General - Spotlight Search, all the items are ticked.
    I have tried rebooting.
    Is there a solution to this problem?
    Many thanks
    John

    As far as I know, it's not possible to search your documents. Read here: iOS: Understanding Spotlight Search

  • Spotlight can not find a pdf layer name

    i have created a layered pdf file with my american version of adobe indesign cs,
    but the geman spotlight criteria "ebenen/ enthält/ ..." (in english: "layers/ contains/...") cannot find the file.
    how can i find the file? or
    how can i swith to english criteria (this could be the problem) ?
    thank you very much for your help!!
    mark

    Greetings,
    The issue is really quite confusing but not impossible to work around. I spent about 10 minutes cursing the gods above and contemplating all manner of evil upon Apple and Adobe until the heavens opened and showed me the light.
    Follow closely...
    Solution 1. Move a copy of your Adobe PDF's to an alternate location such as a removable drive (USB Drive, External Hard Drive). I can almost say with 100% certainty that spotlight with be able to search inside of the documents in the alternate location.
    Solution 2. In Adobe 7.0 Pro, go to the Advanced menu and use the PDF optimizer to save a copy of your PDF again in the same location as the original with a different filename. For example MyPDF.pdf becomes MyPDFoptimized.pdf.
    Both solutions worked for me, so...
    Good luck and let me know if this helps anyone else.
    charles.r.a.johnson at mac.com

  • Spotlight can't find iPhoto 6 keywords

    Hi,
    I've got Tiger 10.4.4 installed with iPhoto 6. I've keyworded some of my photos in iPhoto but I can't search on them with Spotlight. To attempt to address this I've tried the following with no joy:
    - Added my hard disk to the privacy window in Spotlight preferences and removed it.
    - Renamed the ~/Pictures/iPhoto Library/iPhoto.ipspot file to force a rebuild (which it did).
    - Reindexed the ~Pictures folder in spotlight via Terminal
    - Added a dummy keyword to all photos then forced a Spotlight reindex
    After all this it still isn't working. Anyone with any ideas as to how to remedy this situation?
    Powerbook G4   Mac OS X (10.4.4)  

    For what it's worth, Payton, my Spotlight still functions the same as yours did, and has for as long as 10.4 has been around: double-clicking a photo from either of Spotlight's results areas - separate window or menu bar list - opens that photo in iPhoto, maximised, if Spotlight knows that photo to be in iPhoto (obvious from it being located in your iPhoto Library folder). Preview is also my default application for all images.
    Note that selecting the same image in the Finder will open it with the default application and not iPhoto; but then as we all know by now, don't tamper with files in the iPhoto Library folder.
    This Spotlight behaviour makes sense to me, as having Spotlight open an iPhoto image in anything other than iPhoto is going directly against the don't tamper adage. Say you open an iPhoto image from Spotlight into Preview; there you make colour changes, crop it a little, and resave; you've instantly 'tampered' with the iPhoto library as iPhoto no longer reflects the actual state of that file. You may simply be interested in harmlessly viewing the image but as iPhoto is designed to be the 'guardian of all images it contains' it's logical for it to step in when one of its photos is being checked out.
    Having said all that, I can't suggest why your Spotlight-result images are now opening with Preview..! Despite my post above, where I fixed my "(i)Photos not showing up in Spotlight" problem, I've only just noticed that the problem has in fact returned, and Spotlight has 'forgotten' ALL keyword data up until about that point where I had fixed it (and had it working...). Only photos added since then show up in searches, despite using the same keywords etc. I despair, sometimes...
    Just a thought, but I presume you didn't also delete the iPhoto.ipspot file earlier, did you?

Maybe you are looking for

  • My iphone 3g is not syncing with my mac -

    HI all, I am having a problem with events I am putting on my iphone 3g and syncing through Mobileme to my mac.  It was working, but now has stopped.  I have tried to restore my iphone (lost all my texts and vms) and still not working.  Turned push on

  • Weblogic 12.1.2 configure or create new domain results in CN error

    I have downloaded weblogic server installation 'https://community.oracle.com/Zip distribution for Mac OSX, Windows and Linux' from  http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-main-097127.html A month back, I have successfully

  • Inserting a calculated column after every column in cross tab, in crystal report 2011

    HI, I want to insert a calculated column after every column i a cross tab . The cross tab shows , sales by region for a number of years , for example from 2007 to 2013. The year can be changed based on the user parameter. How can I do that ? Thanks

  • 6.0.5 - 6.0.6 serial????

    Quick question... I'm on the road and thinking about jumping to 6.0.6 from 6.0.5 will serial re-entry be required with this one? Perhaps I should just wait until I return home in case anything crazy happens. (which it usually does) Thanks

  • I rest iphone 1g  but im not able to use it anymore

    i rest my 1stg iphone to regift it but im unable to do anything with it can any onw help me i also lost the sim card i thought i wouldnt ever need it again pls help