Aperture 3 library location on NAS?

Good afternoon,
I would like to know if it is possible to allow more than one computer to use the same Aperture library?
I have one macmini and one iMac 27''.
My question is, would it be possible to store the Aperture library I have on a nas box and share this out to both systems.
I would not be looking to use both computers at the same time.

That is not recommended by Apple, sorry, see this support article:
Aperture: Use locally mounted Mac OS X Extended volumes for your Aperture library
Your external volume needs to be formatted MacOS X Extended. And placing the Aperture Library on a network volume will give poor performance, because the access time is slow, and also unpredictable results. You may corrupt your Aperture library this way and risk data loss.
Since you do not need to access the library at the same time from both machines, it would be safer to put the library onto a fast external drive, connected by firewire or fast USB and plug this drive into the computer where you want to use the library.
Regards
Léonie

Similar Messages

  • Aperture Library Issues on NAS - Advice Needed

    List-
    Need some practical advice here. I've got a 90GB Aperture library that resides on a NAS (QNAP 419P II) that is experiencing major issues. Understood that having the library live on a non-HFS+, non-local drive is not advised by Apple, but it's been there for two years with no issues to speak of.
    I had a power failure occur that seems to have done some damage to the library in some way. Upon opening the library, I got an error that said that there were inconsistencies with the file and that it needed to be repaired. I repaired it, and noticed something strange. In almost all files, the picture resolution was poor and both the camera and lens information was gone--in addition to the fact that the Adjustments capability was disabled.
    I ran the Aperture first aid and ran all three processes--concluding with the full library rebuild. It looked to be successful and resolution, previews, and picture info returned--but halfway through the preview reprocessing the process just stopped and the beach ball of death ensued. I let it run overnight and it never recovered. I had to force quit and now if I reopen the file it say that there are inconsistencies and that the library needs to be repaired, which won't help.
    I also tried to move the library off of the NAS an onto the local drive, but encountered an Error - 50 message--something that apparently is well known in the NAS world where Mac permissions get screwy when dealing with non HFS+ drives.
    I have a backup of the original library, but it is sitting in a cloud repository (CrashPlan) that will take time and money to restore.
    All of the masters are intact in the Aperture directory, and I have very few major adjustments made to any photos. Aperture is really just a repository for me.
    So any practical advice would be appreciated as to how I can create a new local Aperture library and get all of the existing photo files there. I am pretty much giving up on the idea of getting the existing NAS-based library to work properly, so this is more of a real-world question on how to create a new library and eliminate whatever issues there are with the other Aperture files. It looks like everything in the Aperture package is in place, but the library itself is just malfunctioning.
    I am also considering moving everything into iPhoto as well, as Aperture may simply be more than I need for my usage. If is is faster and a but simpler to manage, that could be the right answer as well.
    Thanks in advance for any ideas or guidance.

    The problem is most likely with the library itself being located on the NAS.
    But you can have a hybrid solution where the library is located on your internal drive while the actual image files are located externally, eg on your NAS. Image files stored within the Apeture library are called "managed" while image files stored externally are called "referenced". Whichever approach you take, the process is the same:
    If you try to make a new Library from your masters, you will lose your project structure. The resulting mess will be in accordance to how you created your projects. Basically, if you look at your Masters folder, that's what you'll end up with when you import your masters. If that isn't a problem, the process is simple
    Step 1: Prep.
    Move or copy your masters out of the library bundle to a folder (to make them more accesible in finder).
    Step 2: Create new library.
    Within Aperture, from the File menu "Switch to Library -> Other/New..." to create a new Library on your internal drive.
    Set the preferences to indicate previews/faces etc. I'd turn these off for now as they will slow you down.
    Step 3: Import your images.
    Within your new library, File -> Import - Folders as Projects. This gives you a dialog where you specifiy what and where to import.
    If you choose "Import folders as: Folders and Projects" you will get a folder structure that matches the Masters folder, with projects at the end of the chain with names like 20120213-200100.
    If you choose "Import folders as: Projects and Albums" you will get a single Project called "Masters" with a folder and Album structure that matches the Masters folder.
    Neither of these will look particularly great. If you want to avoid this mess, here's what I'd try.
    Fix your library again like you did before. After the rebuild, go to the Aperture activity window (SHIFT + CMD + 0) and cancel the preview generation process before it has chance to hang. This should give you a sem-functional library, hopefully functional enough for the next step:
    Select all images and use File -> Relocate Original to move your original files out of the library. During this process you can specify that the originals are stored in sub-folders that match the project name, within a parent folder if required.
    This gives you a much neater structure for importing into your new library where the projects will get the folder names (which will be your existing project names). It may not be perfect, for example if you have the same project name in different folders and don't/can't segregate them, but it's a lot cleaner than just importing your masters folder.
    Andy

  • Aperture Library location...

    Help needed, please - I have Aperture and library running on my hard drive and a lot of images are now in place. I have also bought a 500gb external drive.
    What I want to ask is:
    Is it possible to move Aperture to my 500gb?
    Is it advisable to do that, will it free up a lot of space on the Mac HD?
    If it will free up a lot of space how do I move it, step-by-step?
    All help & advice appreciated.

    John
    Is it possible to move Aperture to my 500gb?
    Yes.
    Is it advisable to do that, will it free up a lot of space on the Mac HD?
    Advisable? It's certainly not a problem. It will free up as much space as the Library takes up.
    If it will free up a lot of space how do I move it, step-by-step?
    Are you using Managed or Referenced Masters? Assuming you are using Managed:
    1. Quit Aperture
    2. Copy the Aperture Library from your Pictures Folder to the External Disk.
    3. Hold down the option (or alt) key while launching Aperture. From the resulting menu select 'Choose Library' and navigate to the new location. From that point on this will be the default location of your library.
    4. Test the library and when you're sure all is well, trash the one on your internal HD to free up space.
    Regards
    TD

  • How do I move my Aperture Library to Synology NAS

    I am trying to set up a Synology DS1512+ and want to store my Aperture library on it.  I'd appreciate any tips on how to best move the library from my iMac internal drive to the NAS device. The main reason I purchased the DS1512+ was to store my library on a device which I could expand as needed and which provided some data redundancy in case a drive fails.

    Aperture will not open the library on a drive that is not formatted MacOS X Extended (Journaled), at least the newest Aperture versions are checking the formatting of the drive.
    In addition to that -  Apple advises against using network volumes, see:  Use locally mounted Mac OS X Extended volumes for your Aperture library,
    There is a risk of transmission errors and database corruption.
    Also, the access to a NAS will be a lot slower than on a directly connected drive. Aperture will be less responsive. It is preferable, to have the Aperture library on the fastest drive you have.
    See this long thread in the "More Like this" to the right: Re: Nas (Synology DS413j) and Aperture
    If you want your NAS  primarily for backup, create a writable disk image on the NAS with the correct formatting, and store the library on that disk image.

  • Itunes library located on NAS, but it's SO slow!

    So, I've set up my iTunes library to be located on my NAS (network attached storage).  It's plugged into a gigabit switch, as is my home PC.
    The library is big, about 77GB - which is why I don't want to keep it locally in the first place.
    Anyhow, anytime I add music to itunes, it is SO SO SO slow to put the songs in the library.  It just freezes itunes for about 1 minute per song.  The copy process of the files over to the drive is pretty quick, a few seconds at most.  It's like itunes is thinking about organizing it or something for the other 55 seconds, per song...
    Is there any fix for this?  iTunes has always felt sluggish on my i7 (which is ridiculous) - I'm getting close to switching over to Spotify completely for syncing/etc... but I would like to see if I can't fix this first...
    Thanks,
    Scott
    Windos 7 64 bit, by the way.

    Where's the ITL file? By that I mean the itunes database file. When you add songs or edit existing entries, that  is the file itunes is accessing. By default itunes puts it on the C: drive. So, if you moved it to the NAS, try putting it back on the C: drive and do a shift-start to tell itunes it's in a different place. Or vice versa.
    A shift-start means, press AND HOLD the shift key while starting itunes. Keep pressing until you see the option to choose a library. Browse to the new location and choose this file
    iTunes Library.itl
    You only have to do a shift-start once. iTunes keeps using the last ITL file it opened until you do another shift-start.

  • Sharing Aperture library with another user on the same mac

    Hi
    I just upgraded to Aperture 3.3, on a MBP running Lion (10.7.4) - I am trying to share the library with my wife so that each of us can retain our separate accounts and preferences and be able to edit/print/add pictures to the library
    I've seen some other posts, suggesting creating a separate directory outside of /Users which I've done: I've created /ApertureLib and moved the library there. I made sure I set permissions for owner, group and others to read/write/execute
    When i try opening the library through my wife's account it tells me that "the library is being used by (null), you must first quit (null) to use this library"
    I added sticky bits, tried to set ACLs, no dice...
    any suggestions?
    Thanks!
    PS: all of the image files are actually stored on a NAS box and mounted via AFP. I tried moving the Aperture library to the NAS box but the performance was atrocious. so I kept the library on Macintosh HD and just reference the picture files from the NAS share.

    PS: all of the image files are actually stored on a NAS box and mounted via AFP. I tried moving the Aperture library to the NAS box but the performance was atrocious. so I kept the library on Macintosh HD and just reference the picture files from the NAS share.
    That is the safest solution. The Aperture library should reside on a local volume, MacOS X extended formatted. Your NAS probably is neither local nor formatted MacOS X extended, see
    Aperture: Use locally mounted Mac OS X Extended volumes for your Aperture library
    I am trying to share the library with my wife so that each of us can retain our separate accounts and preferences and be able to edit/print/add pictures to the library
    Aperture is a single User program. Only one of you can use Aperture at a time. So you hvae to quit Aperture in your account, before your wife can launch it from her account. Also make sure that iPhoto is not using the library.
    One big problem with sharing a Library are permissions and ownerships. When you make changes to an Aperture Library and add images, you are the owner of the added images. The safest way to share a library therefore would be to put it on an external volume or onto a separate partition of your hard drive. Then you can set the "Ignore ownership on this volume" flag and share the data with out permission problems. To set this flag on a volume, select it in the Finder and use "File > Get info" from the Finder's main menu bar (or press cmd-I).
    Regards
    Léonie

  • Export Aperture library objects to Finder folders

    Inspired by the posted message by user http://discussions.apple.com/profile.jspa?userID=616539 I wrote a script that will do the following:
    1. Sync Folders/SubFolders/Albums/Projects..etc hierarchy tree from Aperture to a Finder folders tree
    2. At run-time the script will creates/append to a log file under (home directory)\Library\Logs\AppleScriptExportApertureLibrary.log
    3. Exports all projects images versions with embedded metadata
    4. Create a file system "hard links" for each photo in the respective Albums pointing to the project folder location in order to preserve space.
    5. Compare modification date on the image files and modification date within Aperture and export only modified images in order to save time for a full sync/export.
    6. In interactive mode you can select Export Folder location, Aperture Library location and Projects List (project list will contain project name and internal aperture project id).
    7. In non-interactive (from command line) mode there are two arguments:
    7a. "quiet" - exports all projects
    7b. "quiet" "Project Information" - export only certain projects. the project information can be found in the log file.
    8. Remove any images or folders from Finder export directory that do not exist in Aperture database any more.
    Hopefully this would help anyone who is looking to export from Aperture on a regular basis. I am not sure how it will handle large amount of photos. I tested it with 3k+ photos.
    Please note that you use this script at your own risk.
    Here is the script code:
    global theFoldersTree_G
    global theLibraryPath_G
    global theProcessedProjects_G
    global theSelectedProjects_G
    global theAllAlbums_G
    global theScriptName_G
    global Sqlite_G
    global ApertureLibrary_G
    global numExports_G
    on run argv
    set Sqlite_G to "/usr/bin/sqlite3"
    set ApertureLibraryPath to POSIX path of (path to home folder) & "Pictures/"
    set ApertureLibrary_G to ApertureLibraryPath & "Aperture Library.aplibrary/Aperture.aplib/Library.apdb"
    set exportFolder to POSIX path of (path to home folder) & "Pictures/Aperture Exports/"
    set theScriptName_G to "ExportApertureLibrary"
    set theSelectedProjects_G to "ALL PROJECTS"
    set theFoldersTree_G to {}
    set theProcessedProjects_G to {}
    set theAllAlbums_G to {}
    set numExports_G to 0
    logEvent("Started")
    set theArgv1 to {}
    set theArgv2 to {}
    if (count of argv) ≥ 1 then
    set theArgv1 to item 1 of argv
    end if
    if (count of argv) = 2 then
    set theArgv2 to item 2 of argv
    end if
    logEvent("Passed ARGV 1: " & theArgv1)
    logEvent("Passed ARGV 2: " & theArgv2)
    if theArgv1 is not equal to "quiet" then
    set theFile to (choose file with prompt "Please choose the Aperture Library file" default location POSIX file ApertureLibraryPath) as string
    set ApertureLibrary_G to POSIX path of theFile & "Aperture.aplib/Library.apdb"
    set exportFolder to POSIX path of (choose folder with prompt "Please choose the export folder" default location POSIX file exportFolder) as string
    end if
    logEvent("ApertureLibrary_G path is set to: " & ApertureLibrary_G)
    logEvent("exportFolder path is set to: " & exportFolder)
    try
    tell application "Aperture"
    logEvent("Getting list of project path information...") of me
    set SqlStatement to "
    select replace(A.ZLIBRARYRELATIVEPATH,'.approject',''),A.ZUUID
    from ZRKFOLDER AS A
    WHERE A.ZFOLDERTYPE=2
    ORDER BY A.ZNAME"
    set SQLProjectUUIDPath to DB_execute(SqlStatement) of me
    set theProjectsOptions to SQLProjectUUIDPath as list
    set end of theProjectsOptions to "ALL PROJECTS"
    logEvent("Projects list: " & theProjectsOptions as string) of me
    if theArgv1 is not equal to "quiet" then
    set theSelectedProjects_G to choose from list SQLProjectUUIDPath with prompt "Please choose a project(s):"
    end if
    if theArgv2 is not equal to {} then
    set theSelectedProjects_G to theArgv2
    end if
    logEvent("The selected projects : " & theSelectedProjects_G as string) of me
    logEvent("Getting list of libraries...") of me
    set theLibraryList to every library
    logEvent("Found " & (count of theLibraryList) & " libraries") of me
    repeat with theLibrary in theLibraryList
    set theLibraryName to name of theLibrary
    logEvent("Processing library: " & theLibraryName) of me
    set LibraryFolders to {}
    set theProcessedProjects_G to {}
    tell application "Finder"
    if not (exists (POSIX file (exportFolder & theLibraryName) of me)) then
    logEvent("creating new folder " & theLibraryName & " at " & exportFolder) of me
    make new folder at (POSIX file exportFolder of me) with properties {name:theLibraryName}
    end if
    end tell
    set theLibraryPath_G to exportFolder & theLibraryName & "/"
    logEvent("Getting list of folders...") of me
    set theFolderList to every folder of library id (id of theLibrary)
    logEvent("Found " & (count of theFolderList) & " folders") of me
    set theRootFolderList to {}
    if theFolderList is not equal to {} then
    processFoldersTree(0, theFolderList) of me
    repeat with theFolder in theFolderList
    if (id of theFolder) is not in theFoldersTree_G as string then
    logEvent("Found root folder : " & (name of theFolder) as string) of me
    set end of theRootFolderList to theFolder
    set end of LibraryFolders to (name of theFolder)
    end if
    end repeat
    end if
    if theRootFolderList is not equal to {} then
    processFolders(theRootFolderList, theLibraryPath_G, "projects") of me
    processFolders(theRootFolderList, theLibraryPath_G, "albums") of me
    else
    set theProjectList to every project of library id (id of theLibrary)
    set end of LibraryFolders to processProjects(theProjectList, theLibraryPath_G, "projects") of me as list
    processProjects(theProjectList, theLibraryPath_G, "albums") of me
    end if
    logEvent("Getting list of projects...") of me
    set theProjectList to every project of library id (id of theLibrary)
    logEvent("Found " & (count of theProjectList) & " projects") of me
    logEvent("Getting list of albums...") of me
    set theAlbumList to every album of library id (id of theLibrary)
    logEvent("Found " & (count of theAlbumList) & " albums") of me
    set theRootProjectList to {}
    if theProjectList is not equal to {} then
    repeat with theProject in theProjectList
    if (id of theProject) is not in theProcessedProjects_G as string then
    logEvent("Found root project : " & (name of theProject) as string) of me
    set end of theRootProjectList to theProject
    set end of LibraryFolders to (name of theProject)
    end if
    end repeat
    end if
    set theRootAlbumList to {}
    if theAlbumList is not equal to {} then
    processAlbumsTree(theProjectList, theFolderList) of me
    set theRootAlbumList to {}
    repeat with theAlbum in theAlbumList
    if (id of theAlbum) is not in theAllAlbums_G as string then
    logEvent("Found root album : " & (name of theAlbum) as string) of me
    set end of theRootAlbumList to theAlbum
    set end of LibraryFolders to (name of theAlbum)
    end if
    end repeat
    end if
    if theRootProjectList is equal to {} then
    processAlbums(theRootAlbumList, theLibraryPath_G, "albums") of me
    else
    processProjects(theRootProjectList, theLibraryPath_G, "projects") of me
    processProjects(theRootProjectList, theLibraryPath_G, "albums") of me
    if theRootAlbumList is not equal to {} then
    processAlbums(theRootAlbumList, theLibraryPath_G, "albums") of me
    end if
    end if
    cleanup(LibraryFolders, theLibraryPath_G, "all") of me
    end repeat
    logEvent("total exports : " & numExports_G) of me
    if theArgv1 is not equal to "quiet" then
    display dialog "Total image exports : " & numExports_G buttons {"OK"} with title "Aperture Library Export" with icon note
    end if
    end tell
    on error s number i partial result p from f to t
    set s to "Error: " & s
    logEvent(quoted form of (s))
    if theArgv1 is not equal to "quiet" then
    display dialog "ERROR : " & s buttons {"OK"} with title "Aperture Library Export" with icon note
    end if
    end try
    end run
    on cleanup(theObjects, thePath, theSelection)
    logEvent("Cleaning export folders...") of me
    logEvent("# Objects: " & (count of theObjects)) of me
    logEvent("Export Folder: " & (thePath as string))
    tell application "Finder"
    logEvent("Getting list of folders...") of me
    set theFolderList to every folder in folder (POSIX file thePath of me)
    logEvent("Found " & (count of theFolderList) & " folders") of me
    logEvent("Getting list of files...") of me
    set theFileList to every file in folder (POSIX file thePath of me)
    logEvent("Found " & (count of theFileList) & " files") of me
    repeat with theFolder in theFolderList
    set theFolderName to name of theFolder
    if theFolderName is not in theObjects as string then
    logEvent("Moving folder " & theFolder & " to trash...") of me
    move theFolder to trash
    end if
    end repeat
    if theSelection is not equal to "folder" then
    repeat with theFile in theFileList
    set theFileName to name of theFile
    if theFileName is not in theObjects as string then
    logEvent("Moving file " & theFile & " to trash...") of me
    move theFile to trash
    end if
    end repeat
    end if
    end tell
    logEvent("Cleaning completed...") of me
    end cleanup
    on logEvent(logMessage)
    set theLine to quoted form of (((current date) as string) ¬
    & " : " & logMessage)
    do shell script "echo " & theLine & ¬
    " >> ~/Library/Logs/AppleScript" & theScriptName_G & ".log"
    end logEvent
    on DB_lookupProjectPath(puuid)
    set SqlStatement to "
    select replace(rtrim(ZLIBRARYRELATIVEPATH,'.approject'),'/',':' )
    from ZRKFOLDER
    where
    ZUUID ='" & puuid & "'"
    set SqlRecords to DB_execute(SqlStatement)
    return DB_record(SqlRecords, 1, 1)
    end DB_lookupProjectPath
    on processFolders(theFoldersList, theFolderPath, processOrder)
    logEvent("processFolders... : " & theFolderPath) of me
    set arrayOfFolders to {}
    tell application "Aperture"
    set theCount to count of theFoldersList
    set theCounter to 1
    repeat with theFolder in theFoldersList
    set foldersOfFolder to {}
    set theFolderName to name of theFolder
    logEvent("Processing folder : " & theFolderName & " (" & theCounter & "/" & theCount & ")") of me
    set theCounter to theCounter + 1
    set end of arrayOfFolders to theFolderName
    tell application "Finder"
    if not (exists (POSIX file (theFolderPath & theFolderName) of me)) then
    logEvent("creating new folder " & theFolderName & " at " & theFolderPath) of me
    make new folder at (POSIX file theFolderPath of me) with properties {name:theFolderName}
    end if
    end tell
    logEvent("Getting list of album...") of me
    set theAlbumsListOfFolder to every album of folder id (id of theFolder)
    logEvent("Found " & (count of theAlbumsListOfFolder) & " albums") of me
    logEvent("Getting list of folder...") of me
    set theFolderListOfFolder to every folder of folder id (id of theFolder)
    logEvent("Found " & (count of theFolderListOfFolder) & " folders") of me
    logEvent("Getting list of project...") of me
    set theProjectsListOfFolder to every project of folder id (id of theFolder)
    logEvent("Found " & (count of theProjectsListOfFolder) & " projects") of me
    if theProjectsListOfFolder is not equal to {} then
    set end of foldersOfFolder to processProjects(theProjectsListOfFolder, (theFolderPath & theFolderName & "/"), processOrder) of me as list
    end if
    if theFolderListOfFolder is equal to {} then
    set end of foldersOfFolder to processAlbums(theAlbumsListOfFolder, (theFolderPath & theFolderName & "/"), processOrder) of me as list
    else
    if theAlbumsListOfFolder is not equal to {} then
    set end of foldersOfFolder to processAlbums(theAlbumsListOfFolder, (theFolderPath & theFolderName & "/"), processOrder) of me as list
    end if
    set end of foldersOfFolder to processFolders(theFolderListOfFolder, (theFolderPath & theFolderName & ":"), processOrder) of me as list
    end if
    cleanup(foldersOfFolder, (theFolderPath & theFolderName & "/"), "all") of me
    end repeat
    end tell
    logEvent("processFolders completed...") of me
    return arrayOfFolders
    end processFolders
    on processFoldersTree(theParent, theFoldersList)
    logEvent("processFoldersTree...") of me
    tell application "Aperture"
    repeat with theFolder in theFoldersList
    if theParent is not 0 then
    set end of theFoldersTree_G to (id of theFolder)
    end if
    set theFolderListOfFolder to every folder of folder id (id of theFolder)
    if theFolderListOfFolder is not equal to {} then
    processFoldersTree((id of theFolder), theFolderListOfFolder) of me
    end if
    end repeat
    end tell
    logEvent("processFoldersTree completed...") of me
    end processFoldersTree
    on processAlbumsTree(theProjectsList, theFoldersList)
    logEvent("processAlbumsTree...") of me
    set theAllAlbums_G to {}
    tell application "Aperture"
    repeat with theProject in theProjectsList
    repeat with theAlbum in (every album of project id (id of theProject))
    set end of theAllAlbums_G to (id of theAlbum)
    end repeat
    end repeat
    repeat with theProject in theProjectsList
    repeat with theAlbum in (every album of every subfolder of project id (id of theProject))
    set end of theAllAlbums_G to (id of theAlbum)
    end repeat
    end repeat
    repeat with theFolder in theFoldersList
    repeat with theAlbum in (every album of folder id (id of theFolder))
    set end of theAllAlbums_G to (id of theAlbum)
    end repeat
    end repeat
    end tell
    logEvent("processAlbumsTree completed...") of me
    end processAlbumsTree
    on DB_lookupImageInfo(puuid)
    set SqlStatement to "
    SELECT replace(A.ZLIBRARYRELATIVEPATH,'.approject',''),strftime('%m/%d/%Y %H:%M:%S',datetime(B.ZDATELASTSAVEDINDATABASE, 'unixepoch', '+31 years','localtime'))
    from ZRKFOLDER AS A,ZRKVERSION AS B
    where
    B.ZPROJECTUUID = A.ZUUID AND
    B.ZUUID ='" & puuid & "'"
    set SqlRecords to DB_execute(SqlStatement)
    return {theImagePath:DB_record(SqlRecords, 1, 1), theImageDate:DB_record(SqlRecords, 1, 2)}
    end DB_lookupImageInfo
    on processProjects(theProjectsList, theProjectPath, processOrder)
    logEvent("processProjects... : " & theProjectPath) of me
    logEvent("processOrder: " & processOrder) of me
    set arrayOfProjects to {}
    tell application "Aperture"
    set theCount to count of theProjectsList
    set theCounter to 1
    repeat with theProject in theProjectsList
    set ProjectFolders to {}
    set theProjectName to name of theProject
    set end of arrayOfProjects to theProjectName
    set theContinue to 0
    if "ALL PROJECTS" is not in theSelectedProjects_G as string then
    if (id of theProject) is not in theSelectedProjects_G as string then
    logEvent("Skipping project: " & theProjectName) of me
    set theContinue to 1
    end if
    end if
    if theContinue = 0 then
    -- set theProjectPath to theProjectPath & DB_lookupProjectPath(id of theProject) of me
    logEvent("Processing project : " & theProjectName & " (" & theCounter & "/" & theCount & ")") of me
    tell application "Finder"
    if not (exists (POSIX file (theProjectPath & theProjectName) of me)) then
    logEvent("creating new folder " & theProjectName & " at " & theProjectPath) of me
    make new folder at (POSIX file theProjectPath of me) with properties {name:theProjectName}
    end if
    end tell
    if processOrder is equal to "projects" then
    set end of theProcessedProjects_G to (id of theProject)
    logEvent("Getting list of images...") of me
    set theImageList to every image version of project id (id of theProject) as list
    logEvent("Found " & (count of theImageList) & " images") of me
    set end of ProjectFolders to processImages(theImageList, (theProjectPath & theProjectName & "/"), "project", "JPEG - Original Size") of me as list
    end if
    logEvent("Getting list of subfolders...") of me
    set theSubfolderList to every subfolder of project id (id of theProject)
    logEvent("Found " & (count of theSubfolderList) & " subfolders") of me
    logEvent("Getting list of album...") of me
    set theAlbumList to every album of project id (id of theProject)
    logEvent("Found " & (count of theAlbumList) & " albums") of me
    if theSubfolderList is equal to {} then
    set end of ProjectFolders to processAlbums(theAlbumList, (theProjectPath & theProjectName & "/"), processOrder) of me as list
    else
    if theAlbumList is not equal to {} then
    set end of ProjectFolders to processAlbums(theAlbumList, (theProjectPath & theProjectName & "/"), processOrder) of me as list
    end if
    set end of ProjectFolders to processSubfolders(theSubfolderList, (theProjectPath & theProjectName & "/"), processOrder) of me as list
    end if
    if processOrder is equal to "projects" then
    cleanup(ProjectFolders, (theProjectPath & theProjectName & "/"), "all") of me
    else
    cleanup(ProjectFolders, (theProjectPath & theProjectName & "/"), "folder") of me
    end if
    end if
    set theCounter to theCounter + 1
    end repeat
    end tell
    logEvent("processProjects completed...") of me
    return arrayOfProjects
    end processProjects
    on exportImage(imageUUID, imageName, exportFolder, imageType, isAlbum, exportSettings, imageExt)
    set imageInfo to DB_lookupImageInfo(imageUUID) of me
    set imageTime to theImageDate of imageInfo as Unicode text
    set imageDate to date imageTime
    set isExported to 0
    set imageName to imageName & imageExt
    set theFile to POSIX file (exportFolder & imageName)
    tell application "Finder"
    set isUpdate to 0
    if not (exists theFile) then
    logEvent("Image does not exist in folder : " & exportFolder) of me
    set isUpdate to 1
    else
    logEvent("Get image modification date") of me
    do shell script "ls -l " & quoted form of (exportFolder & imageName)
    set imageFileDate to modification date of (info for theFile)
    if imageDate ≥ imageFileDate then
    logEvent("Image file date: " & imageFileDate as string) of me
    set isUpdate to 1
    end if
    end if
    if isUpdate = 1 then
    if exists theFile then
    move theFile to the trash
    end if
    if isAlbum is equal to "album" then
    logEvent("Creating a link for image: " & imageName) of me
    set theProjectFolder to theImagePath of imageInfo
    do shell script "ln " & quoted form of (theLibraryPath_G & theProjectFolder & "/" & imageName) & " " & quoted form of exportFolder
    else
    set isExported to 1
    logEvent("Exporting image: " & imageName) of me
    tell application "Aperture"
    if imageType is "master" then
    set settings to exportSettings
    export {image version id imageUUID} using settings to POSIX path of file exportFolder metadata embedded
    else
    set settings to exportSettings
    export {image version id imageUUID} using settings to POSIX path of file exportFolder metadata embedded
    end if
    end tell
    end if
    end if
    end tell
    return isExported
    end exportImage
    on DB_execute(SqlStatement)
    try
    set SqlScript to Sqlite_G & space & "-separator '|'" & space & (quoted form of ApertureLibrary_G) & space & (quoted form of SqlStatement) & " 2>&1"
    set SqlResult to do shell script SqlScript
    set theARray to {}
    set tid to AppleScript's text item delimiters
    set AppleScript's text item delimiters to ASCII character 13
    set SqlRecords to text items of SqlResult
    set AppleScript's text item delimiters to tid
    return SqlRecords
    on error s number i partial result p from f to t
    set s to "SQL Error: " & s
    logEvent(quoted form of (s)) of me
    end try
    end DB_execute
    on DB_record(SqlRecords, row, col)
    try
    set tid to AppleScript's text item delimiters
    set AppleScript's text item delimiters to "|"
    set SqlCols to text items of (item row of SqlRecords)
    set AppleScript's text item delimiters to tid
    return item col of SqlCols
    on error
    return {}
    end try
    end DB_record
    on DB_lookupRecord(SqlRecords, theReturnCol, theText, theCol)
    set theResult to ""
    repeat with theRow in items of SqlRecords
    set tid to AppleScript's text item delimiters
    set AppleScript's text item delimiters to "|"
    set theFields to text items of theRow
    set AppleScript's text item delimiters to tid
    if item theCol of theFields is equal to theText then
    set theResult to item theReturnCol of theFields
    exit repeat
    end if
    end repeat
    return theResult
    end DB_lookupRecord
    on processImages(theImageList, exportFolder, isAlbum, exportSettings)
    logEvent("processImages... : " & exportFolder) of me
    if exportSettings contains "JPEG" then
    set imageExt to ".jpg"
    else
    set imageExt to ".ANY"
    end if
    set arrayOfImages to {}
    with timeout of 6000 seconds
    set theCount to count of theImageList
    set theCounter to 1
    repeat with theImage in theImageList
    set imageUUID to id of theImage
    set imageName to name of theImage
    set end of arrayOfImages to imageName & imageExt
    logEvent("Processing image : " & imageName & " (" & theCounter & "/" & theCount & ")") of me
    set numExports_G to numExports_G + (exportImage(imageUUID, imageName, exportFolder, "version", isAlbum, exportSettings, imageExt) of me)
    set theCounter to theCounter + 1
    end repeat
    end timeout
    return arrayOfImages
    end processImages
    on processAlbums(theAlbumsList, theAlbumPath, processOrder)
    logEvent("processAlbums... : " & theAlbumPath) of me
    set arrayOfAlbums to {}
    tell application "Aperture"
    set theCount to count of theAlbumsList
    set theCounter to 1
    repeat with theAlbum in theAlbumsList
    set theAlbumName to name of theAlbum
    logEvent("Processing album : " & theAlbumName & " (" & theCounter & "/" & theCount & ")") of me
    set theCounter to theCounter + 1
    set AlbumObjects to {}
    set end of arrayOfAlbums to theAlbumName
    tell application "Finder"
    if not (exists (POSIX file (theAlbumPath & theAlbumName) of me)) then
    logEvent("creating new folder " & theAlbumName & " at " & theAlbumPath) of me
    make new folder at (POSIX file theAlbumPath of me) with properties {name:theAlbumName}
    end if
    end tell
    logEvent("Getting list of images...") of me
    set theImagesList to every image version of album id (id of theAlbum)
    logEvent("Found " & (count of theImagesList) & " images") of me
    if processOrder is equal to "albums" then
    set end of AlbumObjects to processImages(theImagesList, (theAlbumPath & theAlbumName & "/"), "album", "JPEG - Original Size") of me as list
    cleanup(AlbumObjects, (theAlbumPath & theAlbumName & "/"), "all") of me
    end if
    end repeat
    end tell
    logEvent("processAlbums completed...") of me
    return arrayOfAlbums
    end processAlbums
    on processSubfolders(theSubfoldersList, theSubfolderPath, processOrder)
    logEvent("processSubfolders... : " & theSubfolderPath) of me
    set arrayOfSubfolders to {}
    tell application "Aperture"
    set theCount to count of theSubfoldersList
    set theCounter to 1
    repeat with theSubfolder in theSubfoldersList
    set theSubfolderName to name of theSubfolder
    logEvent("Processing subfolder : " & theSubfolderName & " (" & theCounter & "/" & theCount & ")") of me
    set theCounter to theCounter + 1
    set end of arrayOfSubfolders to theSubfolderName
    tell application "Finder"
    if not (exists (POSIX file (theSubfolderPath & theSubfolderName) of me)) then
    logEvent("creating new folder " & theSubfolderName & " at " & theSubfolderPath) of me
    make new folder at (POSIX file theSubfolderPath of me) with properties {name:theSubfolderName}
    end if
    end tell
    set SubfoldersFolders to {}
    logEvent("Getting list of albums ...") of me
    set theAlbumsListOfSubfolder to every album of subfolder id (id of theSubfolder)
    logEvent("Found " & (count of theAlbumsListOfSubfolder) & " albums") of me
    logEvent("Getting list of subfolders...") of me
    set theSubfoldersListOfSubfolder to every subfolder of subfolder id (id of theSubfolder)
    logEvent("Found " & (count of theSubfoldersListOfSubfolder) & " subfolders") of me
    if theSubfoldersListOfSubfolder is equal to {} then
    set end of SubfoldersFolders to processAlbums(theAlbumsListOfSubfolder, (theSubfolderPath & theSubfolderName & "/"), processOrder) of me as list
    else
    if theAlbumsListOfSubfolder is not equal to {} then
    set end of SubfoldersFolders to processAlbums(theAlbumsListOfSubfolder, (theSubfolderPath & theSubfolderName & "/"), processOrder) of me as list
    end if
    set end of SubfoldersFolders to processSubfolders(theSubfoldersListOfSubfolder, (theSubfolderPath & theSubfolderName & "/"), processOrder) of me as list
    end if
    cleanup(SubfoldersFolders, (theSubfolderPath & theSubfolderName & "/"), "all") of me
    end repeat
    end tell
    logEvent("processSubfolders completed...") of me
    return arrayOfSubfolders
    end processSubfolders

    If you do externalize your Masters to folders anywhere (same drive, internal/external drive, multiple drives, whatever), never be tempted to use Finder to mess with them.
    As Frank said, use Relocate Masters.  Otherwise you'll confuse Aperture when it wakes up expecting Masters to be in certain places when they have moved elsewhere.
    It's possible to fix up the mess, but it's no fun!

  • I am unable to open my Aperture library after my computer crash!!

    I get the following error meassage after my computer crashed and now unable to open Aperture library. Do not have any of my photos backed up as yet!!!
    "There was an error opening the database for the library “/Volumes/My Passport for Mac/Aperture Library.aplibrary”.

    The Crash may have prevented Aperture from closing the Library properly.
    Make a backup copy of your Aperture library, before you proceed.
    Then try to repair the library using the "Library First Aid Tools":
    Aperture 3 User Manual: Repairing and Rebuilding Your Aperture Library
    Locate the Aperture library on your My Passport drive, then hold down the Command and Option keys while double-clicking the Aperture library.
    Select Repair Database from the First Aid panel.
    If that does not help, repeat, but select "Rebuild database".
    If you still have prolems, post back and explain, what happened before Aperture crashed.
    Regards
    Léonie

  • Aperture Library Recommendation for 3.3?

    I have for some time worked with my Aperture library located on a USB connected disk drive following guidance I'd seen somewhere about not placing it on the same disk as the application software.
    Post the upgrade to version 3.3, I'm wondering if this is still the best place for the library.  Admitedly I haven't been able to use Aperture properly yet (because 2 weeks after the upgrade Aperture is still re-generating all my previews - a process slowed down by repeated lockups when trying to refresh Facebook albums - see https://discussions.apple.com/message/18722356#18722356) - but it seems much slower than before - with the spinning wheel there for long periods of time even when just scrolling through the list of projects and albums, let alone trying to make an adjustment or something else useful.
    Is there a change in recommendation for 3.3 to bring the library onto the main disk or should it still be located somewhere else?

    I have for some time worked with my Aperture library located on a USB connected disk drive following guidance I'd seen somewhere about not placing it on the same disk as the application software.
    Where did you see this recommendation? It must have been a very specific situation.
    The best place for an Aperture library is the fastest disk you have; and that usually should be your system drive. My Aperture library resides on the SSD system volume - perfect for speedy access to the library items.
    If your library is too large for the system volume, the usual solution would be to remove it to an external volume (but you would need a very fast drive and a high speed connection, fire wire or thunderbolt), or to keep the library on the system drive, but relocate the master files to a different volume; that is what I have done. Don't let the system drive get too full, this will slow down the system and Aperture.
    How large is your library? Upgrading should not take that long. Usually the upgrade does not take much processing, and will not recreate all previews. But Aperture 3.3. is very sensitive to corrupted libryries. Apple advises to rebuild the library before upgrading while still on Aperture 3.2.4, and only then upgrade the fixed library. But I see you are in good hands in the other thread with Kirby Krieger as advisor.
    Regards
    Léonie

  • Sharing Aperture library with iPad: a little annoyance...

    When editing a photo with a 3rd party plugin (or Photoshop), Aperture creates a 2nd version in TIF or JPG. This image is stacked with the main image. 9 times out of 10, the image edited should become the primary image I want to see, with the RAW (or original master) becoming a backup in the stack.
    I wish there was an option for iTunes/iPad to sync only the top image of the stacks within a giving event. If anyone knows of a way to do this currently please let me know.
    Thanks!

    PS: all of the image files are actually stored on a NAS box and mounted via AFP. I tried moving the Aperture library to the NAS box but the performance was atrocious. so I kept the library on Macintosh HD and just reference the picture files from the NAS share.
    That is the safest solution. The Aperture library should reside on a local volume, MacOS X extended formatted. Your NAS probably is neither local nor formatted MacOS X extended, see
    Aperture: Use locally mounted Mac OS X Extended volumes for your Aperture library
    I am trying to share the library with my wife so that each of us can retain our separate accounts and preferences and be able to edit/print/add pictures to the library
    Aperture is a single User program. Only one of you can use Aperture at a time. So you hvae to quit Aperture in your account, before your wife can launch it from her account. Also make sure that iPhoto is not using the library.
    One big problem with sharing a Library are permissions and ownerships. When you make changes to an Aperture Library and add images, you are the owner of the added images. The safest way to share a library therefore would be to put it on an external volume or onto a separate partition of your hard drive. Then you can set the "Ignore ownership on this volume" flag and share the data with out permission problems. To set this flag on a volume, select it in the Finder and use "File > Get info" from the Finder's main menu bar (or press cmd-I).
    Regards
    Léonie

  • My aperture library lives on an external hard drive that is corrupt and I can not locate the library. I do have it backed up with TM. How do I safely restore the library from TM to my laptop? I am using the newest version of aperture on my macbook pr

    My aperture library lives on an external hard drive that is corrupt and I can not locate the library. I do have it backed up with TM. How do I safely restore the library from TM to my laptop? I am using the newest version of aperture on my macbook pro.

    Hello Sandra,
    The article linked below details how to go about restoring items from Time Machine in Snow Leopard.
    Mac OS X 10.6: Recovering items using Time Machine and Spotlight
    http://support.apple.com/kb/PH6379
    Sincerely,
    Allen

  • I just noticed that I can no longer select photos out of my finder that are located in my Aperture/Iphoto Library.  I used to be able to attach photos to my gmail out of the aperture library in the finder and for some reason, no longer can.

    I just noticed that I can no longer select photos out of my finder that are located in my Aperture/Iphoto Library.  I used to be able to attach photos to my gmail out of the aperture library in the finder and for some reason, no longer can.
    I can't access these images except to go into the applications. 
    Also, I'd like to import my iphoto library into aperture, and move aperture library to an external drive.  I tried the import first, but there wasn't enough space.  Then I tried copying over the aperture library onto the external drive but it failed bc it said file was in use. 
    As it is, I only have 50gb left on my imac, and the aperture library is 150gb.  Also, I have over 10k images in both libraries combined and there are tons of duplicates that need to be sorted, and hopefully not messed up because I've organized most of them.
    So in short, I need to know how to do the following:
    -select photos in finder in aperture/iphoto libraries
    -move aperture library to live on external drive
    -import iphoto library into aperture library
    -eliminate dups but maintain organization
    -moving forward i need a better workflow so that I import images from camera, and can organize right away into albums rather than creating projects by default and then creating albums so essentially the photos are in 2 different places, even tho they are referenced
    -live happily ever after
    Thanks in advance for any support you can offer!!

    If you're using apps like iPhoto or Aperture then they replace the Finder for managing your photos. The point is that you use the (many) options available via these apps for the things you want and need to do with the Photos.
    So, simply, you don't select the photos in the Finder. I'll append the supported ways to do this - which are faster and will yield the current version of your Photos - to the end of this post.
    -move aperture library to live on external drive
    Managed or Referenced Library? Managed -
    Make sure the drive is formatted Mac OS Extended (Journaled)
    1. Quit Aperture
    2. Copy the Library from your Pictures Folder to the External Disk.
    3. Hold down the option (or alt) key while launching Aperture. From the resulting menu select 'Choose Library' and navigate to the new location. From that point on this will be the default location of your library.
    4. Test the library and when you're sure all is well, trash the one on your internal HD to free up space.
    Referenced -  relocate your Masters first.
    These issues are covered in the Manual and on this forum hundreds of times.
    -import iphoto library into aperture library
    FIle -> Import -> iPhoto Library? Have you done this already? If so are you trying to move the Masters to Aperture from an  iPhoto Library? Or Consolidate them?
    -moving forward i need a better workflow so that I import images from camera, and can organize right away into albums rather than creating projects by default and then creating albums so essentially the photos are in 2 different places, even tho they are referenced
    You can't. Every photo is in a Project.  They’re the basic building blocks of the Library.
    You might want to spend a little time with the manual or the video tutorials. I'm not sure you've grasped the app  you've purchased.
    The following is written for iPhoto, but about 97% works for Aperture too.
    There are many, many ways to access your files in iPhoto/ APerture:   You can use any Open / Attach / Browse dialogue. On the left there's a Media heading, your pics can be accessed there. Command-Click for selecting multiple pics. This is what you use to attach your shot to your GMail
    (Note the above illustration is not a Finder Window. It's the dialogue you get when you go File -> Open)
    You can access the Library from the New Message Window in Mail:
    There's a similar option in Outlook and many, many other apps.  If you use Apple's Mail, Entourage, AOL or Eudora you can email from within iPhoto/ Aperture.
    If you use a Cocoa-based Browser such as Safari, you can drag the pics from the iPhoto Window to the Attach window in the browser.
    If you want to access the files with iPhoto/ Aperture not running:
    For users of 10.6 and later:  You can download a free Services component from MacOSXAutomation  which will give you access to the Library from your Services Menu.
    Using the Services Preference Pane you can even create a keyboard shortcut for it.
    or use this free utility Karelia iMedia Browser

  • File Location in Aperture Library

    So, I'm new to aperture having transitioned from Lightroom.
    When I set up my aperture ilbrary I oould have sworn I maked keep images in current location (where I had them stored in LR). Those files show in finder to be 681GB. When I look at my new aperture libray, it's 745GB. So I presume that I've inadvertanly set up an aperture library with the images stored within. Is this a correct assumption?
    If I leave it this way, what do I lose? Can these enormous files become corrupt? I only do a backup offsite once a month or so.
    Should I delete this new aperture library and re-import w/o moving the files?

    Stevej2001 wrote:
    So, I'm new to aperture having transitioned from Lightroom.
    When I set up my aperture ilbrary I oould have sworn I maked keep images in current location (where I had them stored in LR). Those files show in finder to be 681GB. When I look at my new aperture libray, it's 745GB. So I presume that I've inadvertanly set up an aperture library with the images stored within. Is this a correct assumption?
    Based on the size, I would say that it is indeed a 'Managed Library' where all your images are being stored inside the 'Aperture Library' package.
    If I leave it this way, what do I lose? Can these enormous files become corrupt? I only do a backup offsite once a month or so.
    Other than an OS corruption or Disk corruption, it is the database inside the Aperture Library that can become corrupt, which does not compose a huge issue as you can always manually remove the Master images in the worst case scenario.
    Should I delete this new aperture library and re-import w/o moving the files?
    Many people choose a 'Referenced Library' (which is what Lightroom uses) for a number of reasons. The most common reasons are; 1 - long term storage needs for Masters may exceed internal drive space; 2 - using manually created 'Finder' folders is preferable to using the Library Inspector view; 3 - Master files will be stored in an easily accessible form if the Aperture database gets corrupted beyond fixing and you at least have the Masters already filed logically and easily managed for a new system or library.
    In the end, it is up to you; but deleting the new library and re-importing while leaving the Masters in their current location should be in line with what you have been doing with Lightroom. This would mean doing backups of the Masters and Aperture Library as separate operations (not a big deal if you have the external resources for copying).

  • Aperture 3 not in Media Browser - Non-Default Library Location Issue

    Hi Everyone,
    My Aperture Library cannot be viewed in the media browser. I created a new Aperture library in the default location which resolved the issue; however, I have my library on an external hard drive and it is too big to put on my internal HD.
    Any suggestions on how to tell iLife & iWork to look in my external HD?
    Message was edited by: ZerbyPhotography

    Hello Everybody,
    Ok...I went to the Genius Bar, but to no avail. (by the way, my issue about not being able to open programs while holding alt was due to my not depressing the alt key for the required length of time. So, false alarm on that one. Oops!)
    I just updated to 3.0.1. I continued to have the same issues with accessing my files through the media browser. I called tech support; and through their instructions, I was able to gain access to my library through the media browser. This seemed to be by accident, so I don't know if it was due to the update, a particular logarithm of library selection, or a combination of the two.
    What I remember being the last actions were to create an alternate library, >file, >>switch to library, >>>other, select the new library, (possibly restarting Aperture), then switching back to my main library through the same selection as previous (i think...possibly by a different method).
    Regardless, my library is now accessible in the media browser in iLife & iWork programs.

  • Locating Aperture Library Folders

    Hello,
    I recently imported images that were in regular mac folders to the Aperture library.
    Most of the images that were connected to the folder (which I deleted after importing) appear OFFLINE. When I try to reconnect using the tool, the Aperture Library (where these photos are now) does not appear in the reconnect box as an option.
    So,
    How can I connect these images when the Aperture Library doesn't show up as an option to find images within?
    Thank you!

    Just to be sure, which of the above badges do you see on the problematic image versions, the "offline" badge or the "not found" badge?
    Last year we had several reports on managed master image files, that Aperture could not find; but since Aperture knew these images to be managed, it refused to open the "locate referenced files" dialogue.   
    First convince yourself that the missing master image files really are inside your Aperture Library Package: Ctrl-click the Aperture Library, select "Show Package Contents" and inspect the "Masters"-folder, if your missing images really are there. if they are not there, then you probably imported the images as referenced and deleted the original masters - you will have to find a backup of the images.
    If they are there, I would try to repair your Aperture Library. Have you done any trouble shooting on your Aperture Library? If not, try the   "Aperture Library First Aid Tools", as described in the Aperture 3: Troubleshooting Basics: http://support.apple.com/kb/HT3805
    Start with repairing Permissions and repairing your Library. Post back, if repair does not help.
    Regards
    Léonie

Maybe you are looking for

  • Constratints in materialized view

    hi everybody, after I created materialized view I find out that it inherited primary key constraint directly from the base table in master site. But it didn't inherit foreign key and unique key constraint from the base table .Should I make them my se

  • Help Using Count and SQL statements

    Hello This problem has been bugging me incesantly and I would be reaaaaaaally grateful if someone could help here I want to create query that woud count the number of times a certain unedited word would be matched against different edited words This

  • Simplest way to see Standard Sale price and associated COGS?

    Hi there, I'm working with some end users and analysts in the MM module and they want to have a really simple way of viewing all of their SKUs (to simplify this scenario assume 1 plant and 1 company code, single values for all key fields). They want

  • Standby redologfile -Dataguard environment

    Hi, I have had a small confusion regarding an oracle Dataguard environment(standby database). If i add a redo log group in my production db say "PRODDB",is the same log file will be replicate to the standby db say "STDBYDB"? If so, based on which par

  • Firefox opens 2 homepage tabs whenever I start it

    If I got to an open tab and click a link, another tab opens instead of just going to the link in the already open tab.