Smart Folder Bug: Iphoto fails to match using 'filename' filter

Hi, this issue has popped up here:
http://discussions.apple.com/message.jspa?messageID=6008267
and here:
http://www.mac-forums.com/forums/showthread.php?t=22401
though I've yet to find an answer.
Briefly, the problem:
When using a smart album with a 'filename' filter, iphoto fails to produce a match when it should. Interestingly, I have some of my photo's included from their current location (simply a folder structure on my mac) and others imported directly into iphoto, so are directly in the library. Now, those photo's that are included from their current location are correctly indexed, and the smart folder provides correct matches (e.g. all filenames that contain '.jpg'). However, none of the photo's that reside in iphoto's own library are present with the example filter above.
I'm not sure how much this topic has been bashed, but this is definitely an iphoto issue, and an irritating one! (Yep, I've rebuilt the library too)
Thoughts?

Tom
Thoughts?
Here's one:
I have some of my photo's included from their current location (simply a folder structure on my mac) and others imported directly into iphoto, so are directly in the library.
Running a mixed library, where iPhoto is managing some of the files and you are managing the others, is a recipe for data loss. When there's complexity in managing the data, mistakes will occur.
That said: this could be a damaged db file.
Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
Regards
TD

Similar Messages

  • Smart folder in iphoto to burn folder on desktop

    Hi.
    I set up a smart folder in IPHOTO (collecting all photo's taken on a vacation) and have set up a burn folder on the desktop.
    I can't figure out how to get the smart folder to the burn folder. It won't move from within Iphoto or via the finder.
    Is what I want to do possible in Tiger and Iphoto?
    I have a new Macbook.
    thanks in advance.

    If by :burn to the desktop: you mean copy, then no. You have to either select all and drag to a folder on the desktop or use the File->Export->File Export menu route.
    If you want to burn directly to a disk with those images then click on the smart album and use the File->Export->File Export menu route but this time selecting the blank mounted disk on the desktop as the final destination.
    Do you Twango?

  • New Smart Folder in iPhoto

    I am trying to set up a new smart folder in iPhoto to collect all my video clips.  I have followed the instructions but there is no 'Movie' word for me to select in my drop down menu list of words.  How do I add this word?  Currently there is a random list of words contained - no idea how they have arrived in the list.

    Are you using the smart rule "Photo is ...."?
    It should look like this:

  • If I create a smart folder in iPhoto, and then delete it, are the pictures gone?

    I am still trying to figure iPhoto out. I just created a "Smart Folder" and it imported some of my photos. I decided to delete that folder. Did that delete the pictures or are they still somewhere else in iPhoto or on my computer? Thanks!

    several issues with your question
    1 - there is no such thing as a smart folder in iPhoto
    2 - folders in iPhoto can not hold photos and it is not possile to import photos into them
    3 - there are smart albums - deleting a smart album has no effect on the photos - the "contents" of the smart album are simply pointers to the photos in your library that meet the criteria - deleting the album has no effect on the photos themselves
    4 - as the contents of a smart album is the photos that meets the criteria it is no possible to import photo into a smart album
    5 - it is helpful to know what version of iPhoto you have
    So please ask with correct terms since we can not see you or your computer and can only help based on wha tyou tell us
    LN

  • Populating Smart Folder - Bug?

    There seems to have been a change in the way smart folders are populated in Snow Leopard. I like to keep a smart folder called "All Today". It is a great troubleshooting tool. For example, there is currently a Snow Leopard bug in using your mouse to select Expose "Show Desktop". With this smart folder, I can change the Expose settings and quickly see that com.apple.symbolichotkeys.plist is the possible problem file.
    Unfortunately, Snow Leopard is not populating an realtime smart folder very elegantly. One has to open the smart folder, show search criteria, and toggle search locations to properly populate the folder.
    For example, here is an "All Today" search criteria:
    Create a new Smart Folder w/ search conditions as follows:
    Kind = Any
    System Files = Are Included
    (Option+) ANY of the following are TRUE
    - Last Opened Date = Today
    - Last Modified Date = Today
    Save the folder
    Close finder and open the folder. You will see that the folder is not properly populated. Now, open "Show Search Criteria" and toggle Search location at the top. Now correctly populated. It is a nuisance to have to drop down the menu to show the search criteria and then toggle. This was not the case in Leopard.
    Can anyone think of a work around?

    Hi all,
    I've a similar issue. If you create a smart folder with time based criteria it won't get populated correctly.
    Say you have a criteria "last opened" in "one week"
    It works as soon as you create the folder but if you open a file after the smart folder was created the new file won't be seen in the smart folder.
    Cheers,
    Marco

  • Enhancement request; Address book unfiled Smart folder, like iPhoto

    I could not seem to create a Smart Folder to contain any address cards not filed in another folder, just like iPhoto.
    Can this be done? If not, please consider this an enhancement request for the Leapord Address book. It should be an easy addition.
    Thank you!

    Just for clarity, this is a user-to-user forum, so there is no point in asking Apple for anything here. If you want to make suggestions to Apple use OS X Feedback.
    I don't use iPhoto, so can't comment on the comparison, but in Address Book all contacts are stored in the AddressBook.data file. For convenience you can put contacts into groups (which I think is what you mean by folders) but it doesn't in any way change where (or how) the contact is stored. Indeed, a single contact can be a member of many groups - you can see which groups a contact is assigned to by selecting it and pressing the alt key.
    To come to your particular issue, there is no handy way of in Address book of seeing which contacts are not assigned to groups, but it can be easily done with Applescript - there is one posted in this thread.
    AK

  • Smart Folder bug

    Any time I use a smart folder, well I have only tried with one. With the search criteria, system turned on, and visibility to everything. So that I can search my whole system. Everytime I do this I cannot search anything after. Nothing, in finder or anything until I restart. Spotlight seems to work. It sometimes comes up with a few results, I didn't notice a pattern just yet, but there are very few. Once I restart it works normally until again I make another smart folder and search in it. Also I did try rebuilding the spotlight index after making a smart folder to no avail. I tried resetting PRAM, SMC, fixing my drives permissions/repairing. Nothing has worked. Please help!. Ive also noticed significant performance changes in yosmite.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Iphoto does not consistently use filename as title

    I am importing photos from a Finder folder into iphoto (09). For some photos, the program automatically uses the file name as title; for other photos it does not assign any title. I can't make out any pattern. Since I gave the files names that have meaning, it would be very helpful if I could see them in iphoto. (If I look at the Extended Photo Info, the file name can be seen, but it does not show up in the regular view as titles.) Can anyone help? Thanks!

    Have you looked at the files with other programs, for example Preview?
    If you show the Inspector in Preview (Tools > Show Inspector) and open the IPTC and Exif tab, you can see the metadata tags of the photos. Do the image files in question have different IPTC or Exif tags set? Some cameras write empty captions to the photos, that might be read by iPhoto as empty titles.

  • Using FileName Filter is an Advantage ?

    Hi all,
    Assume there are two versions of program , let me tell you the objective of the program.
    Objective : To list the directory and select the files based on the given criteria.
    Version 1:
    Step 1: get the files list by using File.listFiles()
    Step 2. Loop through the list and select the files based on the criteria.
    Step 3: Process the selected files.
    Version 2:
    Step 1 : Get the files using File.listFiles(Filter)(embed the selection criteria inside the filter class).
    Step 2 : Process the selected files.
    My assumption is Version 2 will run faster than Version 1:
    Guys could you please tell me whether my assumption is right ?

    There's no reason to think the Filter method will run any faster. In fact, it might be a tiny, imperceptible bit slower, since it will probably have an extra level of method calling. Note that this theoretical minuscule speed difference is NOT a reason to choose one over the other.
    The reason to use the Filter method is for encapsulation and separation of responsibility. The Filter is a way to encapsulate the selection criteria, and confine that responsibility to a class whose job is precisely that. This lets you change which files you'll process without changing the processing loop. The filter can come from somewhere completely separate from the processing loop.
    For example:
    public class FileUtil {
      public static getSumOfFileSizes(File directory, FileNameFilter filter) {
        File[] files = directory.listFiles(filter);
        long size = 0L;
        for (File file : files) {
          size += file.length();
        return size;
    }Now if I want to know the total sizes of all the .jpg files and all the .gif files in the directory, I just do
    long jpgSizes = FileUtil.getSumOfFileSizes(directory, new FileNameFilter() {
      public boolean accept(File directory, String name) {
        return name.endsWith(".jpg");
    long gifSizes = FileUtil.getSumOfFileSizes(directory, new FileNameFilter() {
      public boolean accept(File directory, String name) {
        return name.endsWith(".gif");
      }});Note that I only write the size summing code once, and I never change it. I could of course define a FileFilter, say EndsWithFileFilter that I just pass the extension to look for, rather than have those separate anonymous inner classes. The point is that the processing code is completely independent of the file selection code.

  • MobileMe Gallery + Smart Folder; why doesn't it automatically update?

    I used to use Photocasting on iPhoto 6. This worked great in that I published a photocast of a smart folder and any new items that matched the smart folder were automatically published.
    I upgraded to iPhoto '08 specifically so that people could subscribe to an album via RSS and have it work on any computer.
    Unfortunately, with iPhoto '08 the MobileMe Gallery doesn't seem to remember that it was based on a smart folder and I have to manually add additional pictures to publish in the MobileMe Gallery.
    What am I missing? All I want is to have a smart folder automatically publish all new matches to an RSS feed for my friends & family to see new pics.
    Please advise as to how anyone is able to accomplish this.

    MobileMe galleries are separate from the album that you initially use to create them. Any photo added to the album also has to be manually added to the gallery. It's the nature of the beast. You can put in a feature request to Apple via http://www.apple.com/feedback/iphoto.html
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 6 and 7 libraries and Tiger and Leopard. Just put the application in the Dock and click on it whenever you want to backup the dB file. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
    Note: There's now an Automator backup application for iPhoto 5 that will work with Tiger or Leopard.

  • How to "Smart Update" an iPhoto Library Folder

    Hi:
    Searched the archives but didn't find a thread which quite addressed this exact scenario (but if there is one, please let me know):
    I want to occasionally "Smart Update" the iPhoto Library folder on my wife's iMac, so that it matches the "master" iPhoto Library folder on my PowerMac, since any new pictures we take all get imported onto my machine -- first for editing (in PS Elements) and then organizing (extensive captioning, Keyword sorting, etc.) using iPhoto.
    While I can simply copy the 8-9GB folder onto an external drive, then move that drive upstairs, connect it to the other machine, and copy that entire folder over while erasing the earlier version (all for the sake of say 50MB worth of new and/or modified images), it would obviously be much easier if I could just "Smart Update" (to use the SuperDuper! backup app term) the receiving folder so it matched the master one, and did that smart updating over my existing wireless AirPort network.
    The iPhoto option of Sharing my master library is unfortunately too slow via the wireless network to be a practical alternative.
    I know about the prohibitions against manually mucking around with any iPhoto Library folder via the Finder, but in this case, would a "Smart Updated" iPhoto Library folder function correctly (i.e. the same as the master folder from which it was "cloned"), or would additional "application support" files also have to be copied from the master machine?
    I would do a test using my registered copy of SuperDuper!, but unfortunately it's a volumes-only solution. I've always wished that Apple's Finder offered a "Smart Update" option when copying folders to a location where a folder by the same name already exists (in Leopard -- please?), but failing that, what 3rd-party apps (freeware would be nice!) should I try to test out this workflow?
    Thanks,
    John Bertram
    Toronto, Canada

    John:
    To add to TD's post, the Feb. issue of MacWorld has a review of several backup applications. I believe it is online at their site. This will work only if your wife does not make any changes, i.e. add new photos, delete photos or add albums, etc.
    If you wife uses iPhoto for making slideshows, etc., your only option is to use iPhoto Library Manager to add new rolls to your wife's library like this.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • Smart folder combining known directories, all used by a same project

    Hi,
    I have project whose content spans several folder e.g.
    i have directory structure:
    latex/alpha
    cpp/alpha
    projects/alpha
    and added aliases for the first 2 in the 3rd one.
    1) It's fine as is, but I'm wondering if smart folder can do something better.
    2) Specifically, I have found search criterion = Projects this item is part of. How does this work?
    http://docs.info.apple.com/article.html?path=Mac/10.4/en/mh2152.html

    The Projects keyword is looking for a kMDItemProjects attribute in the metadata. The application that created the file would set that metadata attribute on creation. I looked at my xCode project files and my iMovie project files and neither are setting that attribute. I think I have the original xCode from Leopard and my iMovie is '06.
    I don't know about any, but you could possibly find a third-party app or command line program to set spotlight metadata attributes which would then let you set up a smart folder to search for that attribute.
    To automate it slightly, you could set up a folder action for each project folder that would then use that utility to set the metadata attribute when a file is added to the folder.
    The quick and dirty method to get started would be to set a Spotlight Comment in "Get Info…" that includes the project name, and then set up a smart folder that searches for 'Spotlight comment' matches <ProjectName>
    Quicksilver, by Blacktree, has a module for tagging files and theoretically finding them; however, I think due to the changes in Leopard spotlight searching, the show files command doesn't work. You can build your own smart folders base on its tagging, though. See here, here, and here.

  • Is there a way to create a smart folder in iTunes, that contains the most recent (say 10) used playlists?

    Is there a way to create a smart folder in iTunes, that contains the most recent (say 10) used playlists? By having this I would be three clicks (touches from what is recent).
    Thanks

    100s with about 30 folders, comprised on different moods, years, genre, favorites, audiobooks, podcasts. Being accessed from multiple Macs and Apple TVs.

  • Spotlight comments search  and smart folder fails

    Spotlight search of the "Spotlight Comments" field fails after a file is saved in TextEdit or iWork programs.
    I reproduced this failure, 100% of the time, in OS X 10.8 and 10.8.1 (with iCloud enabled or with it iCloud disabled) and can not reproduce this failure in Mac OS X 10.7.x
    The steps to reproduce are simple and quick:
    Create a new test file in TextEdit and Save it on the Mac (saved as, for example, test.rtf)
    Quit TextEdit
    In the Get Info panel for the test.rtf file and enter some unique text in the Spotlight Comments: field, for example XYZZY:
    In Finder create a new Smart Folder (File > New Smart Folder)
    Create a search criteria in the Spotlight comment field for the unique text from step 3 (XYZZY in this example) and hit Save and name the Smart FolderNote, the test.rtf file immediately appears in the smart folder
    Open the test.rtf with TextEdit and change the text and Save the file.
    Note, as soon as you hit Save in TextEdit the test.rtf file disapears from the SmartFolder.  This is the error.  Also note, the Spotlight Comment value (in this example, the text XYZZY) is unchanged, it still exists.
    See attached screen shot after step 7 that shows the smart folder no longer shows the text.rtf file even though the search criteria is met.
    I have reproduced this error with TextEdit and Pages and Numbers but not with other applications that are not iCloud enabled.

    Clendenen02 wrote:
    where should I run the code? in the terminal, or an applescript, or should put it in xcode and run it from there or the terminal.
    What MrHoffman said.
    But if it's easier, you can wrap it in Automator and have Automator ask for the Folders: (Test on a sample of your files before running on all 700 files)
    (do you really own 700 movies??)
    The Workflow is:
    Put this in the Run Shell Script Action (and pass input as arguments":
    PicDir=$1
    MovDir=$2
    for f in $PicDir/*
    do
         if [ ! -d "$f" -a "${f##*.}" = "jpeg" ]; then
              comment=$(mdls -raw -name kMDItemFinderComment "$f")
              if [[ $comment != "(null)" ]]; then
                   picname=${f##*/}
                   movname=${picname%.*}.m4v
                   if [[ -e "$MovDir"/$movname ]]; then
    osascript <<-EOF
    tell application "Finder"
    set comment of file (POSIX file "$MovDir/$movname") to  "$comment"
    end tell
    EOF
                   fi
              fi
         fi
    done
    (BTW, I know that this is a bit of sloppy scripting (wraping an osascript in a Bash Script wrapped in Automator, but it does what you need)

  • Smart Folder in Finder displays incorrect list when using "File label" option.

    Hello.
    I created a Smart Folder in Finder, to display all files that have any color (label).
    But have a problem just with one file, and although it has no Label, it keeps displaying that file.
    Just to let you know:
    1) File is not in Trash or hidden.
    2) Checked several times the "information" of the file. Assign any color, then removed it.
    3) File is synched with Dropbox v2.0.5
    4) File is a Microsoft Excel and been working with it for a while with Office for Mac.
    OS X 10.8.3

    I'm having this problem, too. It with even show files with other color tags when filtering by another color. I tried changing the file color then changing it back to blank and it disappears temporarily, but if you view another folder and then come back the file pops back.

Maybe you are looking for

  • Open and close database connection jsp page

    hi there, i wanna know about how to open database connection to Mysql at the beginning of the page and close the connection at the end of the page. The jsp page contain all processing code. plz help me...thx thx

  • PROBLEM WITH NEW ROW  --- PLEASE HELP

    Hello, I've had it with the framework. It's been 20 hours and counting that I am trying to insert/validate a new record. Things just don't work as advertised. Here's the situation: I have an entity object with various validation rules in the validate

  • IPhoto and Facebook Albums

    I just transferred my iPhoto library to my new MacBook Pro.  I can see my Facebook albums in iPhoto on my new Mac. I need to delete all my photos on my old Mac.  Will this delete them from Facebook too?  Thanks!  I don't want to delete my photos on t

  • Data source from view

    Hi sap guru's while creating datasource from view, i have given the application component name, descriptions and the view table name, but i am getting the error saying that only transparent tables and database views can be extracted. how to resolve t

  • Does Adobe Lightroom 3 have polarizer effect?

    I am looking for the Polarizer readjustment function in Lightroom 3 to enrich the blue sky. http://photofocus.com/2010/02/22/better-skies-with-lightrooms-graduated-filter/ (Better Skies with Lightroom's Graduated Filter) I read the above article. I m