Is the new iPhoto '08 Library syncing in entirety every time?

The new storage for iPhoto Library in iPhoto '08 is a package. It SEEMS like PHD is sensing any minute change inside (which update the package's modified date) and then copying/syncing the ENTIRE library. For some users, this can be 15GB of pain.
Can anyone else confirm or deny?

OK, but please, there's no warranty or anything of that nature and it's a bit specific to my situation, but here goes:
1. I created a script at ~/Library/Scripts/Applications/iPhoto/Backup Library.sh
By putting it at that path, it shows up nicely in the AppleScript menu extra only when iPhoto is active. Thus, it can be manually triggered by the user at any time.
So, here's the script:
<pre class="command">#!/bin/sh
SERVER="afpserver.domain.net"
synclibrary()
    if test -d "/Volumes/Users/$USER/Pictures/iPhoto Library";
    then
        /usr/bin/rsync -av --delete-after "/Users/$USER/Pictures/iPhoto Library/" "/Volumes/Users/$USER/Pictures/iPhoto Library"
    else
        echo "iPhoto Library is not available."
    fi
echo `date` "* Syncing \"iPhoto Library\""
if test -d /Volumes/Users;
then
    echo "Users is available."
else
    echo "Users is not available. Mounting..."
    mount_needed=1
fi
if test "$mount_needed";
then
    mkdir "/Volumes/Users"
    sleep 1
    if `mount_afp -o nobrowse "afp://$USER@$SERVER/Users" "/Volumes/Users"`;
    then
        echo "succeeded."
        synclibrary
        echo -n "Unmounting Users..."
        umount "/Volumes/Users"
        echo "done."
    else
        echo "failed."
        rm -r "/Volumes/Users"
    fi
else
    synclibrary
fi
echo `date` "* Done Syncing \"iPhoto Library\""
exit 0
</pre>
Now, while I've been doing all sort of scripting for many years, shell scripting's a bit new to me, so any suggestions/corrections welcomed. I tried to mirror what Home Folder syncing does in this deployment's situation, which is:
1. If the user has manually mounted the Users sharepoint, this script realizes it's there, makes sure the iPhoto Library folder is present at the right remote location, and does its thing.
2. If the user does NOT have the Users sharepoint mounted, but has an active Kerberos ticket, I mount the sharepoint, run the script and then disconnect the sharepoint afterwards. I do this in a way that the sharepoint does not show up to the user.
Does that sound right to everyone?
OK, now to run the script automatically, I use launchd. Cron is deprecated.
So, the launch script goes in ~/Library/LaunchAgents/com.apple.iPhoto.rsync.plist and looks like this:
<pre class="command"><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Label</key>
    <string>com.apple.iphoto.rsync</string>
    <key>ProgramArguments</key>
    <array>
        <string>/Users/username/Library/Scripts/Applications/iPhoto/Backup Library.sh</string>
    </array>
    <key>StandardErrorPath</key>
    <string>/Users/username/Library/Logs/MirrorAgent.log</string>
    <key>StandardOutPath</key>
    <string>/Users/username/Library/Logs/MirrorAgent.log</string>
    <key>StartInterval</key>
    <integer>21600</integer>
</dict>
</plist>
</pre>
You can set the StartInterval to whatever you want. It's represented in seconds. I chose 3 hours, which is the same interval that I use for PHD.
I am also using the MirrorAgent.log to report all output and my script tried to make that output look as similar to the PHD output as possible. Thus, I can track it all in the one log.
There is ONE problem with this launchd script, which I can't seem to surpass, and that it the fact that I have to use FULL paths.... I can't use ~/Library/etc/etc which means I have to make the launchd plist for each user. Any workarounds for that would be greatly appreciated.
Any questions, just ask!
Message was edited by: jaydisc

Similar Messages

  • I am trying to update the new settings on my iphone 4s but every time I plug in to update it tells me i need to change my media sync options and I'm unsure how to do this? Can anyone help? thanking you :)

    I am trying to update the new settings on my iphone 4s but every time I plug in to update it tells me i need to change my media sync options and I'm unsure how to do this? Can anyone help? thanking you

    What exactly does the message say?

  • After backing up my phone to the new iphone 4S, voice control comes on every time I try to use siri?

    After backing up my phone to the new iphone 4S, voice control comes on every time I try to use siri? I have to newest itunes so what should I do? I completley can not use Siri

    Some advice from various locations on the web (use google).  Each works for some users, not all.  Give these a try.
    Try to deauthorize the computer then authorize it.
    select song or app. that's not authorized, itunes will ask for your password, enter password, click ok, and ok again. Done.
    I had the same problem when I switched from my laptop to a macbook. What I figured out was that I had purchased applications under two different email addresses. You can click on one of the applications that is not syncing and go to "File" then "Get Info" to find out what email address you used to purchase those applications. Hopefully this helps.
    Sometimes a reboot of either the computer or the iPhone or both fixes this, if you’ve authorized already.

  • I am using an Mac PPC version 10.5.8 and I am trying to download the correct version of Flash Player.  I did once but I had to install a "Clean Install" of my computer and when finished I had put back the new Flash Player I just installed well every time

    I am using an Mac PPC version 10.5.8 and I am trying to download the correct version of Flash Player.  I did once but I had to install a "Clean Install" of my computer and when finished I had put back the new Flash Player I just installed well every time I try install the new player it is place in my Trash Folder and I can not get Player to work.  I did everything I was to install it correctly but it still does not install it correctly.  Can some help me.  Bob

    Some MacBook Pro versions cannot be upgraded past 10.6.8; others are maxed out at 10.7.5. newer models can go all the way to 10.10. So it is important to know exactly what version you have--there may be close to 40 variants produced since the MB made its debut in 2006.
    You can safely give us a snapshot of your model and its current config that will allow us to deternmmine your model and its upgrade potential, plus show it you have any software that may impede any upgrades. Please download and install this free utility:
    http://www.etresoft.com/etrecheck
    It is secure and written by one of our most valued members to allow users to show details of their computer's configuration in Apple Support Communities without revealing any sensitive personal data.
    Run the program and click the "Copy report to clipboard" button when it displays the results. Then return here and paste the report into a response to your initial post. It can often show if any harmful files/programs are dragging down your performance.
    Remember that, on leaving OS10.6.8, you lose the ability to run older softare written for older PowerPC Macs (yours in Intel-based). Programs such as Office 2004 will no longer work (min of Office 2008 needed to work on newer OS versions), and AppleWorks will stop working completely

  • HT1338 just what is the new software upgrade 10S 6.16. EVERY TIME I PUT NEW SOFT WARE ON MY IPOD 4TH GENERATION TOUCH IT MESSES UP MY IPOD IN ONE WAY OR ANOTHER. USUALLY IT CUTS IT OFF OF WI FI AND IT WON'T CONNECT!FI

    I am afraid to download the new update software ios 6.1.6. Because everytime I let it put new software on, It makes my Ipod 4th generation mess up one way or another. Usually it makes the wifi go off and I cannot get it back on. Then I can't even use the ipod!  I am having a problem now with it shuffling. Do both red x's one on each corner right top and left top need to be on for it to shuffle?  Thank-You; Sherry  PS, I do not have a Mac. I have a dell window 7. and I don't want windows 8. I have heard nothing but bad about it!

    Nope, though it did allow me to get some missing songs back onto my iPod. That's something. But neither "Back in Black" or "Dirty Deeds" show up anywhere on the Touch. Could this be because iTunes has no deal with AC/DC?
    Quite frankly, at this point, I'd really rather not have the "ease of use" of iCloud attached to the iPod. It's not like I change my playlists that much. It would just be nice to get what I want onto my MP3 player. Not sure which one it was: iCloud, Music Match or the Air Port but the only real result of all the $ I plunked down is seeing all of my Wife's 231 Christmas songs popping up on my laptop. Really don't want them here. She SURE AS **** is sick of seeing all of my stuff on her computer.
    Thanks again.
    B.

  • How do I prevent the new tab page resetting to default (blank) every time I restart Firefox?

    I have used about:config to set the new tab page to the Firefox start page (value = about:home) and clicked OK. But every time I shut down Firefox it resets itself to a blank newtab page.

    '''browser.newtab.url''' change the value here

  • I am trying to transfer my photos from old mac to new mac.  I copied the iPhoto library to an external hard drive, then imported it to the new iPhoto.  It turned my 2000 photos into 12,000!!  What happened?

    And how do I turn off FACES? 

    I copied the iPhoto library to an external hard drive, then imported it to the new iPhoto.  It turned my 2000 photos into 12,000!!
    According to you youo did not do what I instructed - you said you imported the old library into th enew library which can easily take a 2000 photo library and turn it into 12,000 including two ro three versions of each photo pus all the face thumbnails
    The correct procedure has NO importing involved
    drag the iPhoto library intact as a single entity from the old Mac to the pictures folder of the new Mac - launch iPhoto on the new mac
    That is it
    LN

  • I downloaded the new iphoto to my macbook pro. Now when I open it, there is a message telling me that "your photo library is damaged or unreadable and cannot be opened. Please restore from a backup." What do I do I had 16,000 pictures.....PLEASE HELP!!!!!

    I downloaded the new iphoto to my macbook pro. Now when I open it, there is a message telling me that "your photo library is damaged or unreadable and cannot be opened. Please restore from a backup." What do I do I had 16,000 pictures.....PLEASE HELP!!!!!

    Try download iPhoto Library Manager and use its rebuild function. (In Library Manager it's the FIle -> Rebuild command)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places 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. 

  • I tried transferring my iphoto library from my old macbook onto my new macbook pro (via external hard drive), but when i open the new iphoto, it seems to have transferred ALL images ever used on my old macbook. so i tried to just del

    i tried transferring my iphoto library from my old macbook onto my new macbook pro (via external hard drive), but when i open the new iphoto, it seems to have transferred ALL images ever used on my old macbook. so i tried to just delete all those images so i could try a different approach to transferring, but the new iphoto won't let me do anything and every time i try to delete anything it crashes (since the image amount is so high).  please help!!
    MacBook Pro, OS X Mountain Lion (10.8.2), iphoto '11, version 9.4.2

    To move an iPhoto Library to a new machine:
    Link the two Macs together: there are several ways to do this: Wireless Network,Firewire Target Disk Mode, Ethernet, or even just copy the Library to an external HD and then on to the new machine...
    But however you do choose to link the two machines...
    Simply copy the iPhoto Library from the Pictures Folder on the old Machine to the Pictures Folder on the new Machine.
    Then launch iPhoto. That's it.
    This moves photos, events, albums, books, keywords, slideshows and everything else.

  • I tried transferring my iphoto library from my old macbook onto my new macbook pro, but when i open the new iphoto, it seems to have transferred ALL images ever used on my old macbook.  now iphoto won't let me do anything to fix!!

    i tried transferring my iphoto library from my old macbook onto my new macbook pro (via external hard drive), but when i open the new iphoto, it seems to have transferred ALL images ever used on my old macbook. so i tried to just delete all those images so i could try a different approach to transferring, but the new iphoto won't let me do anything and every time i try to delete anything it crashes (since the image amount is so high).  please help!!

    See http://support.apple.com/kb/HT1229?viewlocale=en_US - I doubt that it will solve your problem, though. You may want to post on the iPhoto forum - that's where all of the iPhoto experts hang out.
    Good luck,
    Clinton

  • I want install an old version of itune since the new version does not sync with my iPhone  but the old version I installed did not play rather it says that it can't read a file itune library .itl written by Newer version what do Ido

    I install an old version of itune since the new version does not sync with my iPhone  but the old version I installed did not play rather it says that it can't read a file 'itune library .itl' written by Newer version of itune how do I installed this old version to work

    You need to restore the pre-upgrade backup of the library file in the manner shown in  Empty/corrupt library after upgrade/crash.
    tt2

  • Is there a way to create new events on the new iPhoto app?

    Is there a way to create new events on the new iPhoto app?  I seem to only be able to create albums.  I would really like the app to allow me to do all the same things that I was able to do on my Mac.  I would create events and then sync to all devices.  Can someone please instruct me on how to create new events from the photos imported from the photo stream.
    Thanks for all the help!

    The iPhoto for iOS seems to be aimed at working on photos then sharing them to social media sites or to iCloud for sharing there. iPhoto for iOS does not perform many of the organizing tasks that iPhoto on your Mac does. Many people expected that there would be more capabilities in iPhoto for iOS that would allow it to work more closely with iPhoto on your computer but this is not the case. They are separate apps.

  • How do I merge events on the new IPhoto. The old one was simply drag and drop, this one will not.

    How do I merge events on the new IPhoto. The old one was simply drag and drop, this one will not.

    There are no longer events in Photos.  The new Photos for Mac is structuring the Photos Library automatically into Moments based on dates and locations. You cannot change the moments.
    When Photos migrates an iPhoto Library, it will create album for each event in the iPhoto Library, as a substitute, but these album based "events" are a fake, because albums behave differently from events.
    In iPhoto each photo could be only in one event, so you could move photos from one event to another. With albums, dragging a photo from an album to another album will simply add the photo to the other album as well.
    You will have to remove the photo from the original album.

  • I downloaded the new iphoto and the upgrade and now iphoto will not open correctly anymore. please help

    I downloaded the new iphoto and the upgrade and now iphoto will not open correctly anymore. it stays on the opening screen and the message
    shows up that I must update the mediathek. If I click on update the program shuts down. How can I fix this?

    I downloaded the new iphoto and the upgrade
    Does that mean, you are running iPhoto 9.6 on MacOS X 10.10.1 Yosemite? Or are you using an older MacOS X? "New" iPhoto is relative and depends on your system.
    If I click on update the program shuts down. How can I fix this?
    Does "shut down" mean it crashes?  Then post please the error log from the error panel here - copy and paste the report into your next answer (the first 50 lines should suffice)
    Where is your iPhoto Library (Mediathek) stored? Have you moved it to an external drive, or is it still in your Pictures folder (the order "Bilder")?

  • Does the new iPhoto share better?

    The most important thing I would like to know about the new iPhoto:
    1. Can two family members access the same photos across our home LAN? When I try with the older iPhoto, I have a completely different set of photos than what my wife sees on her computer. It doesn't have to be multi-user, but that would be nice.

    Howard
    If you want the other user to be able to see the pics, but not add to, change or alter your library, then enable Sharing in your iPhoto (Preferences -> Sharing), leave iPhoto running and go to her Machine. There, enable 'Look For Shared Libraries'. Your Library will appear in the other source pane.
    Remember iPhoto must be running on both machines for this to work.
    Want to add files to her Library from yours? In the iPhoto Window drag the pics from the Shared Library to her Library on the Source Pane - just drag them to the word LIBRARY’.
    Regards
    TD

Maybe you are looking for