I changed the path of my photos, how can I find them from iPhoto

I didn't import my photos into the photo library,
now I changed the path of my photo,
how I can find them,
I have thousands of photos, I don't want to check one by one~

I believe this is the post Larry's referring to:
Pascal Mah
Re: iPhoto '11 referenced library problems
Jul 27, 2011 4:28 PM (in response to Terence Devlin)
YES!!!
I finally managed to recover my iPhoto library!
But it was not easy. I had to hack into the database file to put up things right.
After a significant amount of trial-and-error, here is the procedure I came to, which finally worked for me (use at your own risk):
0. Make sure you make enough backups so as to revert to the previous state if something goes wrong!
1. Make a copy of your iPhoto Library [Show Package Contents]/Database/apdb/Library.apdb to your desktop.
This file contains most of the data involved for managing your iPhoto data.
2. Open this file using a SQLite database manager.
I used Navicat 9.1, which has nice import-export features. For direct editing, Base 2.0 is may be easier.
3. Open the table RKMaster.
This table contains all records for the individual pics of your library.
4. Correct the path of each of your pic files in the imagePath column to their current filepath.
This contains the path of your pic files at the time they were imported, and is not updated by iPhoto even though you have moved your pic files somewhere else.
If you have several thousands of paths to correct, a good idea is to export this column to a text file (also including the modelId column for referencing), and to correct paths using the substring Search&Replace function of your favorite text editor. Be sure to re-import the corrected data properly using the modelId column as references.
5. If needed, correct in the same manner the content of the fileVolumeUuid column to the value of the drive currently containing your picfiles.
If needed, obtain this value considering a pic which was recently imported from that drive.
6. If your drive name was modified, also correct its name in the name column of the RKVolume table.
Identify the proper record by considering its uuid previously obtained.
7. If you're happy with your work, quit the database managing program and put Library.apdb back in its original location inside your iPhoto Library.
Keep the older somewhere in case something goes wrong.
8. Run iPhoto to see if your work is successful!
At this point, you might consider rebuilding the Photo Library (hold alt-cmd while launching iPhoto) and choose Repair the iPhoto Library Database (Be sure to leave the Rebuild the iPhoto Library Database from automatic backup unchecked!). This might correct some possible unconsistencies resulting from your edits. Also, a good thing might be to rebuild all thumbnails. If iPhoto does not bug you for locating files during that process, you have possibly done your work right! If not, back to step 1.
As said, this worked for me, with no visible inconsistencies or side effects to be noticed in the behavior of iPhoto (at least for now). But possibly some knowledgable people might comment and improve that process, and some database script guru might also help automating this. Please comment.
Lessons learned (How I understand the things as far as I know):
A. Library.apdb stores the initial drive and path of the pic files at the time they were imported. This is not modified as the files are moved around.
B. Some other data (BLOBs?) is used to track the files at their actual location. Therefore, it seems OK to move the pic files after they were imported.
C. Unfortunately, this other data is broken if the file is recreated (even with same content and location), for example with a file-based backup and restore (Time Machine).
D. In that case, iPhoto is unable to recover the file if its current drive and path does not match the one when the file was imported, stored in the database. Also there is no mechanism in iPhoto to correct this data.
E. Therefore, it is very important to import pic files in iPhoto only when these are already in their final location! If not, your iPhoto Library won't survive a TimeMachine backup and restore! (Possibly, a block-based drive backup could work... I don't know).
F. ...And Apple should really, really fix this issue! (By correcting the stored filepath and drive to the current file location at least when the database is repaired, and by offering at least some basic file reconnection options).
OT

Similar Messages

  • I have just started using Time Machine. I was thinking about deleting old E-Mails on my Mac to clean. Does Time Machine back up the E-Mails , if so how can I find them in Time Machine ??

    I have just started using Time Machine. I was thinking about deleting old E-Mails on my Mac to clean. Does Time Machine back up the E-Mails , if so how can I find them in Time Machine ??

    If you back up your mac before deleting your emails, Time Machine should back up your e-mails.
    I never tried this so i'm not sure to find them in Time Machine. To browse in your backups simply click the Time Machine icon in your dock. In the right bar, you can select an backup. Than you can browse in finder, in your backkup.
    EDIT: Just browsed and CT above was right. This topic might help you:
    https://discussions.apple.com/message/20154303#20154303

  • HT204053 My ipad stores my documents on iCloud. How can I find them from a different computer, as I used to do by using a memory stick on my old PC etc ?

    My ipad stores my documents in iCloud. How can I find them from a different computer?  I used to use a memory stick and could work on my documents on any computer and want to have a replacement system using documents created on my ipad - I can't use a memory stick with it.

    How do you know that they are on iCloud, the iPad can (and does) save locally. If they are on iCloud they will be accessible via the application that created them (Pages, Numbers etc) and can be reached from any computer with iCloud access by logging to iCloud.com. But you did that and stated that they are not there, so what makes you think that they are?

  • Album has no photos, how can I find them?

    I created an album, saw all the photos on the workplace in Organizer.  When I opened Organizer again, the album appeared in the list of albums, but when I clicked it, no photos showed on the workplace and the message "No item matched this combination of search criteria.  I found the album with the .xml extension, clicked it and was brought to adobe online.  The photos are still on my computer, but do I have to bring them in the album every time i close the program??? Thanks.

    You should only have to import photos once.
    Here are some tips that can help when the expected photos are not being shown: http://www.johnrellis.com/psedbtool/photoshopelements-6-7-faq.htm#_Some_photos_are

  • Having arranged some scanned pictures in an album in I-Photo how can I keep them in the order I have chosen when I move the album. They all have the scan date and not the taken date and move to new positions if I move them from one album to another.

    Having arranged some scanned pictures in an album in I-Photo how can I keep them in the order I have chosen when I move the album. They all have the scan date and not the taken date and move to new positions if I move them from one album to another.
    Is there any way to re-number them in the order I have chosen so that they can then be sorted by number? The scans are all from pre-digital images that I wish to move to a photobook and I don't want to have to organise them twice!
    Thanks for any suggestions.

    I was a bit short, Chris, sorry. It is limited, what can be posted, when typing on an iPad.
    Now I am back on my Mac. I meant the following:  Batch Change the date for a large range of photos, that should have a date stepped in increments.
    Select all Photos at once and use the command "Photos > Batch Change".
    Then set the date for the first photo and select an increment, e.g. one minute.
    Now all photos will get a new date assigned, incremented by one minute, in the sequence you have selected. So you will be able to sort them by date.  This way it will be unnecessary to change the titles or filenames.

  • After upgrading to Mavericks and iPhoto 9.5 my shared photo streams seem to contain no photos when seen in iPhoto. From iPad the streams are fine. How can I get them to be recognized by iPhoto again?

    After upgrading to Mavericks and iPhoto 9.5 my shared photo streams seem to contain no photos when seen in iPhoto. From iPad the streams are fine. How can I get them to be recognized by iPhoto again?

    Disable Photo Stream in the System/iCloud preference pane
    and in iPhoto's Photo Share preference pane.
    Reboot and reenable both respectively. That should jump start Photo Stream.
    OT

  • Hi there, I pay for extra iCloud space online. However I cannot seem to find any of my photos or account? As my iPod/iPhone only hold 1000 pictures, where are the previous pictures? And how can I access them?

    Hi there, I pay for extra iCloud space online. However I cannot seem to find any of my photos or account? As my iPod/iPhone only hold 1000 pictures, where are the previous pictures? And how can I access them?

    You cannot use iCloud Storage to suppliment your iPad. They are mainly used to backup iPad.
    Free up space on iPad
    Settings>General>Usage>Storage>Delete what is not needed to free up space on iPad.

  • My photos are out of chronological order after the os 5 upgrade.   How can I get them back in order?

    My photos are out of chronological order after the os 5 upgrade.   How can I get them back in order?
    If its not possible, how do I go back to the old  os?

    I had tried that several times with no luck.  Late last night I was finally able to get through  to the Verizon technical support who then called in Apple technical support.  It took 1 1/2 hours for them to figure it out and guide me through a fix.  So here's the deal .......... I use Yahoo mail and had left the "contacts" button in the on position.  Apparently Yahoo likes to go into your contacts and gather information and can leave it in shambles.  My advice is, go to settings, then mail, contacts, calendars.  Select any and all of your email accounts and go in and turn off their access to your information.  Leave it on for Icloud but none of the others.

  • I deleted all my photos, how can I get them back? They aren't in the trash.

    I deleted all my photos, how can I get them back? They aren't in the trash.

    Restore from your back up seems an obvious solution.

  • Hi, i have deleted accidentally some photos and the trash is empty. How can I recover them? Urgentlyyy

    Hi, i have deleted accidentally some photos and the trash is empty. How can I recover them? Urgentlyyy

    Which trash is empty? If it's the iPhoto trash, check the System Trash, as files deleted from iPhoto 11 go there. Assuming that's also empty then you have exactly two options:
    1. Restore from your back up
    or
    2. Use a file recovery app such as File Salvage - you can download a free trial and it will scan the disk for you and tell you with might be recoverable. Actual recovery will require that you purchase the app. There may be many files with the same or similar names. Always recover the largest file size.
    There are other such apps. Search on Macupdate or the App Store

  • I lost some photos when updating my OS, how can I find them

    I lost some photos when updating my OS, how can I find them.  I have already tried to restore through my PC but the photos are still not there.  Any thoughts?

    If you haven't backup up your phone, then your photos are gone.
    In addition you should import your photos to your PC, just like a ditigal camera, as a secondary backup in case you lose your pics you could always sync it back using Itunes.

  • I caught my phone 4. Had to buy a new one, lost all contacts, and calendar photos. how can I recover them

    I caught my phone 4. Had to buy a new one, lost all contacts, and calendar photos. how can I recover them?

    What does "I caught my phone 4" mean?
    All contacts, calendars, photos etc should be on your computer as the iphone is designed to be synced to your computer.
    Just sync them to your new iphone.
    iPhone: Transferring information from your current iPhone to a new iPhone

  • How can I import images from iphoto with the albums and folders?

    How can I import images from iphoto without losing the albums and folders I already created?

    In Organizer, you can choose File>get Photos and Videos>From iPhoto.
    Importing from iPhoto'09: If in iPhoto, you organize your media using photo references, that is, the media actually does not reside inside iPhoto library package, and are referenced through original locations, Organizer does not create new copies of those media and just refer to the original location. but if your iPhoto media reside inside iPhoto library, Organizer creates a copy all media in your pictures folder, also imports albums and tags and other metadata.
    Importing from iPhoto'011: In this case, Organizer always creates a copy of your photos in your pictures folder which resides inside iPohto package. It does not import the albums and other metadata like star rating, caption etc.
    Hope this information helps!
    regards,
    vaishali

  • When deploying the new CU4 x64 and x86 users see that the install is happening. How do I prevent them from seeing this?

    When deploying the new CU4 x64 and x86 users see that the install is happening. How do I prevent them from seeing this?
    Thanks
    James A+, Network+, MCP

    If the program settings are set to hidden, it should be hidden. You do not need to specify any client settings. If you changed the program settings and the machines already had policy, you will have to wait up to your 60 minute policy setting or just manually
    kick off a policy update to see the new hidden program.
    If they are still getting the interactive install, then you need to troubleshoot if the machine has gotten proper policy. Run a 'Machine policy retrieval and evaluation cycle' manually, wait a few minutes and then test again.
    Suppress program notifications are the tray icons and bubble notifications about installations happening. Hidden is the method in which the executable/msi will install.
    Daniel Ratliff | http://www.PotentEngineer.com |
    @PotentEngineer

  • In the storage there is " others" how can i find it and erase it

    in the storage there is " others" how can i find it and erase it

    abufadwa,
    something categorized as Other is not necessarily something that should be erased — for example, most components of OS X would be categorized as Other. If you would like to make more room on your internal disk, it would probably be better to choose from some of the other categories (viz Audio, Movies, Photos), and to move such files from your internal disk to an external disk.

Maybe you are looking for

  • Why wont my ipod touch let me download any apps that are free?

    It told me to restore to the original store bought and it deleted all my music apps and pics now i got my music back but it wont let me download any free apps like facebook or any games it say when i try "cannot connect to iTunes store" what do i do

  • ITunes encounters error and needs to close?

    i bought an ipod about a year and a half ago... everything worked fine until i decided to upgrade. itunes does not work at all! at first when i clicked on the shortcut (i have windows) nothing would happen. now i try again, and it always comes up and

  • ECC 5.0 installation Error... before installing the Oracle

    Hi, I am installing ECC 5.0. with java version 1.4.2_15. I successfully installed Central Instance. while installing Database Instance in the 16 phase I try to load oracle with ora<SID>. I am getting the error like...... <b>/oracle/stage/920_32/Disk1

  • How to remove kindlegen plug-in in InddCS5.5

    Once again, I fell for the recommendation to install a third-party plug-in: Amazon kindlegen plug-in for indesign CS5.5. It has caused my INDDCS5.5 to not be able to load. I want to remove this kindlegen plug-in. I saw on one forum (not adobe forum)

  • Vendor payment through FBCJ

    Hi Experts, Can anybody tell me,why the list of open items are not displaying while making a vendor or customer payment through FBCJ ? Where as, the list is coming up in f-53 and f-28. Any particular reason behind this ? Please guide, If we can make