Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,000 hints and counting!

Change the default iPhoto library location Apps
iPhoto has a default that can be used to change the location of the photo library in a fashion similar to the way iTunes can change the location of the music library.

For iPhoto, this is of critical importance in that any image added to iPhoto is copied into the library (unlike iTunes, which simply stores a pointer to the original file). Considering what can be done with an image in the library, this makes a lot of sense -- it will make more sense once Apple supports multiple libraries in a more traditional multi-document application approach.

To change the default file store location, go to terminal and type:
  defaults write com.apple.iPhoto RootDirectory /path/to/desired/location
To remove the change default:
  defaults remove com.apple.iPhoto RootDirectory
If anyone wants to implement custom exporters and formatters, it isn't hard....

[Editor's note: Congrats to bbum for the first iPhoto tip, a mere 12 hours after its introductiion!]
    •    
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[78,054 views]  

Change the default iPhoto library location | 29 comments | Create New Account
Click here to return to the 'Change the default iPhoto library location' hint
The following comments are owned by whomever posted them. This site is not responsible for what they say.
iPhoto Installer Does Nothin
Authored by: porcupine on Tue, Jan 8 2002 at 2:11AM PST
I downloaded iPhoto this morning and try to install but when the installer runs nothing seems to happen. Is anybody experiencing the same thing ?

[ Reply to This | # ]
iPhoto Installer Does Nothin
Authored by: bullcreek on Tue, Jan 8 2002 at 7:39AM PST
Haven't seen that, but I have seen other peculiar installer behavior. Did two installations yesterday afternoon, one on my 500MHz Sawtooth, one on a (fruit-flavored) iBook. The iBook installation went as expected. On the Sawtooth, everything appeared to install OK, but none of the nifty internet services appear in the "Share" pane (that is, no Print Service, no Book Service, no Home Page service). I've inspected the package, and it looks like everything from the "Net Services" package got installed in the right places. I'm puzzled.


[ Reply to This | # ]
iPhoto Installer Does Nothin
Authored by: Cyberspacey on Tue, Jan 8 2002 at 7:48AM PST
Yes, I am.

I downloaded iPhoto, double-clickedon the .dmg file which did nothing, opened the file via the Disk Copy utility which mounted an iPhoto disk on my desktop.

I admit to being a new OS X user, but ... in hunting for an installer, I find none. I try to click on the readme.rtf file and all I get is something that looks like it's opening up, and a beep. No *readme*.

Any help would be appreciated.

Best Regards,

Sally

[ Reply to This | # ]
iPhoto Installer Does Nothin
Authored by: balthisar on Tue, Jan 8 2002 at 3:54PM PST
There should be an iPhoto directory in the root of the disk image. Inside is something called iPhoto.mpkg. This is NOT an application; it's an installation package that will start the Apple Installer program. THIS is what you want to install.

(okay, the name may be a little different, but it's definitely something to the effect iPhoto.mpkg, and is definitely .mpkg)


[ Reply to This | # ]
iPhoto Installer Does Nothin
Authored by: 128K Mac on Tue, Jan 8 2002 at 10:47PM PST
Strange. You have 10.1.2 installed?

I double clicked on .dmg file on both G4 DP 450 and TiBook 500 and it mounted image normally. Inside image was a Package installer. I double clicked on it and went through the standard screens agreeing to license, etc. and it installed without a hitch.

[ Reply to This | # ]
Installation Issues
Authored by: bbum on Tue, Jan 8 2002 at 10:29AM PST
(1) make sure you are running 10.1.2

(2) Do you have the BSD tools installed?

(3) get a free account at connect.apple.com and REPORT THOSE BUGS!!!

Seriously-- (3) is key. Apple really does look at the bugs that go through the system (I have reported close to 300 and everything have eventually transitioned to some resolved state-- critical bugs are dealt with surprisingly quickly).

[ Reply to This | # ]
Bug reporting
Authored by: robg on Tue, Jan 8 2002 at 11:24AM PST
I don't even think you need a free account -- you can go to the OS X feedback page and submit bugs there as well. -rob.

[ Reply to This | # ]
Installation Issues
Authored by: 128K Mac on Tue, Jan 8 2002 at 10:49PM PST
Am non geek.

What are BSD tools? I have the current Developer's Tools installed (for 10.1.2). Same thing?

Just curious. Why would they need to be installed to install iPhoto?

Thanks.

[ Reply to This | # ]
Installation Issues
Authored by: bbum on Tue, Jan 8 2002 at 11:14PM PST
I'm not sure if they do need to be installed, but am just trying to gather evidence one way or another.

The 'bsd tools' are all of the command line stuff outside of what is already in the core... the Unix layer. Regardless of whether or not you are ever going to drop to the command line, I would suggest installing it simply because every developer has already installed it and, therefore, testing against systems that don't have it installed is likely to be sporadic, at best.

[ Reply to This | # ]
and for iTunes?
Authored by: tlr on Tue, Jan 8 2002 at 1:20PM PST
The same trick doesn't work for iTunes. Does anyone know how to change the location of the 'iTunes Music Library (2)' file that it still creates in the Documents/iTunes folder? (I already know how to change the music folder.)


[ Reply to This | # ]
symbolic links seem to work
Authored by: j-beda on Wed, Jan 9 2002 at 11:39AM PST
I simply moved the library folder where I wanted it (to another drive) and then put a symbolic link of the same name (iPhoto Library) in the ~/Pictures folder.

I first tried with an alias, but that did not work.

So far iPhoto seems to operate fine with the symbolic link (created via the terminal command "ln -s", look to "man ln" for more instructions in the terminal).




[ Reply to This | # ]
symbolic links hmm
Authored by: brodie on Wed, Jan 9 2002 at 7:19PM PST
can't remember for the life of me how to make a symbolic link, can someone remind/tell me,
thanks

[ Reply to This | # ]
ln -s
Authored by: robg on Thu, Jan 10 2002 at 11:29AM PST
Just do:
  ln -s sourcefile targetfile
-rob.

[ Reply to This | # ]
An alternative method...
Authored by: robg on Thu, Jan 10 2002 at 11:37AM PST
An anonymous user submitted the following as a non-terminal method of changing iPhoto's path ... note that you'll need the Dev Tools installed to get PropertyList Editor.
It is possible to put your iPhoto Library into a different directory without opening the Terminal. In my case, I wanted the iPhoto Library in my Users/Shared folder so other users (family members) on my computer can access the same photos. You can do this by double clicking your ~/Library/Preferences/com.apple.iPhoto.plist file. This launches PropertyListEditor. Now click on the pointer to the left of the word Root to drop down all the Root options. Click any option to highlight it and click the "New Sibling" button. Name the sibling RootDirectory. Make it Class String. Finally make the value your desired pathname. In my case, I entered /Users/Shared/iPhoto Library. You must finish your pathname with "iPhoto Library" or iPhoto will be lost.
If you would rather stay away from the Terminal, this is a good alternative to the defaults command. -rob.

[ Reply to This | # ]
iPhoto resaves photo jpeg files
Authored by: dzurn on Fri, Jan 11 2002 at 4:44AM PST
I thought about setting iPhoto's library to my existing (huge!) photos folder, but I decided against it.

I have a lot of raw and edited photos from my digital camera that are about 1.3 MB in size. If I let iPhoto manipulate them, then they would be re-saved with unknown compression quality. Since I want to use my photos for printing as well as web albums, I decided to let iPhoto make its "disposable" copies in its own folder, then I won't worry about damage to my digital "negatives" which are still in their original place. I'll likely continue to use Image Capture to download pictures from my camera to my regular photos folder, and only THEN let iPhoto import them.

Of course I'd love to see iPhoto upgraded so that it would only make a copy if necessary, but so far I've gotten my money's worth from the program!

Still a remarkable program, and free!



[ Reply to This | # ]
I'm not seeing this...
Authored by: robg on Sun, Jan 13 2002 at 11:15AM PST
I just tried an experiment with our new camera. Using the highest resolution JPEG setting (minimal compression, 2048x1536) on the camera, a test photo downloaded into both Image Capture and iPhoto comes out at 1.3mb on the disk.

Where are you seeing additional compression?

-rob.

[ Reply to This | # ]
This command, among others
Authored by: GraphicFoxx on Sat, Jan 12 2002 at 12:45PM PST
Hey all, I've tried this, and I get an error. This is what I get...

OK? default write com.apple.iPhoto RootDirectory /Volumes/VM_Disk/iPhoto Library? yes
default: Too many arguments

I've tried another method, which says to do...

In -s/Volumes/VM_Disk/Pictures Pictures

This is the error I get with this one...

OK? ln -s/Volumes/VM_Disk/Pictures Pictures? yes
ln: illegal option -- /
Usage: ln [-fhns] file1 file2
ln [-fhns] file ... directory

So how the heck do I get this to work?
Thanks

[ Reply to This | # ]
This command, among others
Authored by: autohag on Sun, Jan 13 2002 at 12:00AM PST
Use defaults, not default. And make sure that your destination directory already exists (eg. iPhoto Library).

[ Reply to This | # ]
This command, among others
Authored by: GraphicFoxx on Sun, Jan 13 2002 at 12:03PM PST
I do type defaults, but ends up in the error just saying default. But I'll try these new suggestions.

[ Reply to This | # ]
This command, among others
Authored by: nagani on Sun, Jan 13 2002 at 10:37AM PST
The problem may be the space in your destination path. Here are a few solutions:
  • use quotes for the path string
  • type a backslash in front of the space
  • drag the destination folder from the Finder to the terminal window
    Good luck!

    [ Reply to This | # ]
  • This command, among others
    Authored by: GraphicFoxx on Sun, Jan 13 2002 at 12:13PM PST
    Ok, tried a combo of both your suggestions. I also changed the name of my target drive to remove a space, just calling it Data. So here's what I typed (up to RootDirectory, then dragged [drug?] my destination folder), and the resulting error, which is the same as what I got before.

    [localhost:~] graphic% defaults write com.apple.iPhoto RootDirectory /Volumes/Data/iPhoto Library

    OK? default write com.apple.iPhoto RootDirectory /Volumes/Data/iPhoto Library ? yes
    default: Too many arguments.

    Notice how I typed defaults, but when it asks for confirmation, it gets changed to default. Is that my problem? and if so, how do I change it?

    [ Reply to This | # ]
    I get the _exact_ same problem
    Authored by: LairBob on Sat, Apr 27 2002 at 9:09AM PDT
    When I try to issue the command line using "defaults" (with an 's'), the confirmation prompt comes back using "default" (with no 's'), and then I'm told I have too many parameters.

    GraphicFoxx, it's been a couple of months since you posted this--did you ever find out a solution?

    [ Reply to This | # ]
    This command, among others
    Authored by: dittrich on Mon, Jan 14 2002 at 4:25PM PST
    When using

    ln -s

    you need a space after the -s. It doesn't look like you have one there....

    Matt

    [ Reply to This | # ]
    Default iPhoto Library privileges
    Authored by: cinolas on Sun, Jan 13 2002 at 3:18PM PST
    I used the terminal to change the default location of the iPhoto Library to /Users/Shared so that my girlfriend and I share the same photo library, it worked just fine.

    My problem is that by default, when iPhoto creates a folder to put the imported pictures in, the privileges are Owner: Read and Write, Group: Read only. So if my girlfriend logs in and imports pictures, and iPhoto creates a new folder to put them in (first time of the day), I cannot import pictures in that same folder (same day) without first changing the privileges to Group: Read and Write.

    If I try to do so, iPhoto says "Cannot create User/Shared/iPhoto Library/2002/01/11/159.jpg". I then click "Stop" and iPhoto unexpectedly quits.

    I imagine that all users wanting to share an iPhoto library between users are going to experience the same problem.

    Is there a way to change the default privileges for iPhoto created folders to Owner: Read and Write and Group: Read and Write ?

    I looked into the iPhoto plist and there is no entry specifying the privileges. Maybe it is possible to add one ?

    Thanks

    [ Reply to This | # ]
    Who can modify shared photos?
    Authored by: markhooper on Thu, Jun 27 2002 at 4:35AM PDT
    Apart from the problem with importing photos on the same day as your girlfriend, do you have any other problems? For instance, can you modify any photos your girlfriend imported? I have not altered my default library settings but am thinking about doing so.

    [ Reply to This | # ]
    CHANGING Default iPhoto Library privileges
    Authored by: mweymar on Mon, Dec 20 2004 at 1:04AM PST
    Look at Adam L. Wetzel's post here. He recommends Len Laughridge's "global umask script 'Global Umask Modification for OS X 10.2' to change these permissions to whatever you want." Good luck!

    [ Reply to This | # ]
    Easier way to Change the default iPhoto library location
    Authored by: osxdude on Sun, Dec 5 2004 at 1:01AM PST
    I ran out of space on my hard drive (HD), so to free up (and backup) data, I now use an external firewire hard drive to back up my pictures folder (along with the rest of th home directory). I found I still needed to free up space on the main HD so I decided to change the default location of the iPhoto Library. Apple Knowledge base does not tell you how to change it (Thanks Apple).

    1) Copy your "pictures" folder or your iPhoto folder (whatever your choice is for backing up that folder) to the external HD or another folder with a different name- this is your option. Since I was out of HD space, I copied to my external HD.
    2) **NOTE: DON'T delete until you have backed up your files & completed all these steps & verify this worked. I'm not responsible for you losing your data)** Drag the iPhoto pictures folder to the trash for now, but DO NOT empty it yet. You can always pull the folder back out.
    3) Start iPhoto.
    4) iPhoto will tell you that it is unable to locate the iPhoto Library. Select the option to locate the iPhoto Library folder then locate your duplicated iPhoto Library.
    5) That's it! No messing with the terminal and....
    6) No need to install the dev tools.

    [ Reply to This | # ]
    Easier way to Change the default iPhoto library location
    Authored by: KingShovelbum on Tue, Nov 22 2005 at 11:24AM PST
    Awesome easy solution! It worked great for me.

    [ Reply to This | # ]
    Change the default iPhoto library location
    Authored by: d3laws on Tue, Sep 26 2006 at 1:34AM PDT
    Actually, holding Option when launching from Dock will allow you to set or choose any library location you want. I copied my library to the new location, held down option and opened iPhoto and chose the new location. Easy. Then I safely deleted the old folder from my hard disk.

    [ Reply to This | # ]