Defining what Aperture regards as a 'new' file.

If I import referenced file from a directory, then something changes the mtime of that file, Aperture regards it as a 'new' file and I end up with what appears to be two masters identical in appearence with the same file name.
The behaviour I expected was that a new file was just that -- a file that hadn't been there before.
I've done this by mistake twice -- and now once deliberately.
This is a problem.  If metadata has already been written, then each file must be checked to see if it is the one with metadata in order to eliminate the correct duplicate.
(I'm scanning images for an alumnni school llibrary.  I have 20 milk crates of albums to do.  I typically will scan while watching the tube in the evening, then apply metadata later in the evening. Each binder is a 'project'
I can the following ways to work with this:
1.  Don't even think about applying any metadata until a project is complete.
This way, any time I import twice, I can just chuck that whole project and re-import.
2.  Carefully track the last file name entred, and make sure that I don't have any thing aready in the library checked for import.  This is tedious.
3.  Create new folders as needed so that no folder is ever used twice for import.
4.  As I add metadata, also give pix a rating. In eliminating duplicates, I just do ones that are not rated.
Is there a better answer?
Is there a way I can tell aperture "don't import duplicates" means don't import a file if there is a file of that name?
If you want to reproduce this error:
Import a folder of files.
Open a terminal window, and navigate to that folder.
Run the command "touch *"
Now all the files will show up if you import from that folder AND have Don't import duplicates checked.

I'm not sure just what I'd done the accidental times.  I think it was using photosweeper, a duplicate and similar pic finder. (Recommended, BTW)
However I end up with TWO images in the browser that act like separate masters that both refer to the same external referenced file.  Not clear what happens if I delete a version and master.  I'll try that in my test folder.
As to the other problem.  I used referenced files, because I use programs other than Aperture.  Which is one of the reasons it's easy to shoot myself in the foot, I'll admit.
As an example:
Import a set of files from a folder.
Chuck the duds.
Use external program to write NAD27 location data to geotag.
Reprocess masters to pull the geotag data.
Now that I'm aware of the problem, I'll just delete versions and re-import, and NOT assign metadata while a project is in flux. 
(As an example of a project that is in flux -- I own a tree farm.   Over the course of a year, I take several thousand pictures for inventory.  With this bug, I'll make sure that each day's shoot comes in as a separate project initially, and then after I've done with it, I'll move those pictures into the long term project.  Probably a better work flow anyway)
As to the two cameras issue.  I don't have two Nikons, but I ran into that problem when I was teaching photography.  Most cameras allow you to change the prefix.  I had my students change it from IMG to their initials. 
In your camera case, to me it is unlikely that you would have both cameras iimporting into the same folder with the same number.  Still, this is a reasonable border case.  My requirements for unique file name would be within the same folder.  With internal files, Aperture renames them according to date and time I think. 
For referenced files imported from a folder a pre-existing name should be reprocessed, with metadata merged.  That would be my usual reaction.  But there should be choices.
Consider:  If I moved the file there, I've ALREADY clobbered the old master.  It doesn't exist anymore. Aperture should detect this and do the right thing.
More signficantly, if Aperture wrote INTO the file something like "Aperture imported on {hostname} Aperture ID 1122334455 or whatever string Aperture uses for a key for this image in it's internal database, then:
A:  Aperture recognizes that some other program as been messing about.
B:  Aperture knows that this file is already in it's database, but MIGHT have been modified. (And therefore should be flagged for the owner to check adjustments.)
Aperture could do some things that are more clever:  When it suspects changes in the file, I extracts a new preview.  The new preview is compared to the old one.  If Identical, then the image is the same.  If different but close, and in the same project, the user is alerted, and asked   Keep both?  Keep newer  Keep older Keep newer, and move metadata...  Remember choices for rest of this import. 
As a more extreme example:  My scanner creates TIFFs.  A 2000 x 3000 pixel image of a slide is about 45 MB.  As a png file (exact same data, but better compression) it's about 30 MB.  I'd like to import, sort, change to png.  Instead I change to png before import.  It's uses more cpu cycles since I'm processing files that will be discarded, but cpu cycles are cheap. 
Part 2 of this answer:
Because I keep referenced files and because Aperture doesn't track derivative files, I try to give my photos meaningful names, so that from the name of a file much of it's pedigree is apparent. If Aperture tracked masters by an internal tag, then derivative files would be a LOT easier to track.  Aperture could then go with the flow if I used a perl script to rename files. 
So, for example, I've done many canoe trips.  The first one was on the Fond du Lac river in northern Saskathewan.  So they are renamed FDL-001  FDL-002.  Now that I'm no longer limited by dos nameing conventions (or writing them in tiny print on the edge of a slide) I'm more likely to name them Fond_du_Lac-75-001

Similar Messages

  • In Safari I can define what pages are loaded when I open a "New Window". How do I achieve the same in Firefox (and supress the current begavior of it opening all of the tabs that I defined as my home page all the time)?

    I am returning to Firefox after having used Safari on Mac for the past year. One thing I liked about Safari was that I could define what page gets loaded when I used the File Menu command to open a new Browser Window. I defined this as opening up with my Bookmarks Menu where I then was able to select the page I wanted to go to.
    I have not been able to find a way to define this in Firefox and was surprised to see that "New Window" in Firefox opens all of tabs that I've defined as my Home Page.
    Is there a way to manage this?

    This issue can be caused by an extension that isn't working properly.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • I've installed LR on my new Mac - How do I find/what is the name of the file that opens to bring up my existing photos (on my external hd)?

    I've installed LR on my new Mac - How do I find/what is the name of the file that opens to bring up my existing photos (on my external hd)?

    Bookmarks and history are stored together in your profile folder in a database file named places.sqlite. These articles should help with restoring as much or as little of your other profile as you like:
    Locating the folder: [https://support.mozilla.com/en-US/kb/Profiles Profiles | How to | Firefox Help]
    The following article has suggestions for recovering bookmarks: [http://support.mozilla.com/en-US/kb/Lost%20Bookmarks Lost Bookmarks | Troubleshooting | Firefox Help].
    To move more settings, see: [https://support.mozilla.com/en-US/kb/Recovering+important+data+from+an+old+profile Recovering important data from an old profile].
    Hope this helps.

  • Ipod touch 4's files are deleted whenever i add a new file into it through itunes (the files i have on my ipod touch aren't in my itunes before hand) and i don't know what to do to keep these files from being erased. PLEASE HELP :(

    my ipod touch 4th generation has files that i didnt back up because i didnt know i was supposed to. the when i tried to add one new file to my EMPTY itunes, all files are deleted, yes because i know i didnt back the files up and the files on my ipod arent in my itunes. so i cancelled adding the new file and all files
    are back again, like i didnt press the sync button when it showed the deletion. what am i supposed to do about this? i dont want my ipod files to be deleted, i just wanna add new files freely without losing any of my old files. please help.

    You want to transfer purchases from the iPod to your iTunes account.
    Connect the device to iTunes but do not sync.
    Select File > Transfer Purchases.
    This will copy the content purchased via iTunes on the iPod to your iTunes account.

  • "When I try to create a new file I am getting this message:  "While executing getDynamicContent in AddressURL.htm, a JavaScript error occured".... what should I do?  Thank you, Lisa

    "When I try to create a new file I am getting this message:  "While executing getDynamicContent in AddressURL.htm, a JavaScript error occured".... what should I do?  Thank you, Lisa

    Troubleshoot JavaScript errors | Dreamweaver CS4, CS5, CS5.5, CS6
    Start with steps #4, #12 and #10.
    Nancy O.

  • Exporting photos for UHDTV or Native 4K TV, what are the best settings ? (File: Quality File: Color Space, Image Sizing and resolution)   Or in other words; How can I get the smallest files but keep good quality for display on new UHDTV

    Exporting photos for UHDTV or Native 4K TV, what are the best settings ? (File: Quality File: Color Space, Image Sizing and resolution)   Or in other words; How can I get the smallest files but keep good quality for display on new UHDTV

    You're welcome, and thank you for the reply.
    2) Yesterday I made the subclips with the In-Out Points and Command-U, the benefit is that I've seen the clip before naming it. Now I'm using markers, it's benefit is that I can write comment and (the later) clip name at once, the drawback is that I have to view to the next shot's beginning before knowing what the shot contains.
    But now I found out that I can reconnect my clips independently to the format I converted the master clip to. I reconnected the media to the original AVI file and it worked, too! The more I work with, the more I'm sold on it... - although it doesn't seem to be able to read and use the date information within the DV AVI.
    1) Ok, I tried something similar within FCE. Just worked, but the file size still remains. Which codec settings should I use? Is the export to DV in MOV with a quality of 75% acceptable for both file size and quality? Or would be encoding as H.264 with best quality an option for archiving, knowing that I have to convert it back to DV if I (maybe) wan't to use it for editing later? Or anything else?
    Thank's in advance again,
    André

  • Every time I open a New File from the File Menu and I open it all of my desktop items are in it. What's up with that?

    Every time I open a New File from the File Menu and I open it all of my desktop items are in it. What's up with that?

    This is configured in Finder preferences under the General icon. You can make some changes to that behavior.

  • I just bought the new PowerShot G1X. Aperture cannot read the raw files. Is there a fix for this?

    I just bought the new PowerShot G1X. Aperture cannot read the raw files. Is there a fix for this? I am using Aperture 3.2.2 with a MacBook Pro.

    I don't know -- sorry.  I don't think it matters -- once your camera is supported, you can easily force a re-processing of the Masters.  If you can import them as RAW+JPEG pairs, I would.  Set the JPG as Master until Aperture can convert the RAWs.
    I don't use RAW+JPEG.  Can someone who does offer some suggestions  .
    (Added:)
    And _always_ back up your files.  In this case, if you have to, you'll be able to re-import them.
    Message was edited by: Kirby Krieger

  • I placed my aperture library on a 1 TB external drive (the file is 300 GB) and Aperture churns and churns but will not open the file. I don't know if the file is too large or if it is the external drive or what? any ideas? Smaller files will open.

    I placed my aperture library on a 1 TB external drive (the file is 300 GB) and Aperture churns and churns but will not open the file. I don't know if the file is too large or if it is the external drive or what? any ideas? Smaller files will open. This is very annoying.

    If this is an external USB drive, you must understand that USB is really, really slow. There may be nothing wrong except for that.
    In my opinion, USB external drives are only acceptable for backups, and to get "near Hard Drive" performance, you need FireWire.

  • How does APEX create and save new files. What extension does it save in?

    Hi can someone help me with this question?
    How does APEX create and save new files. What extension does it save in?
    Cheers!
    VJ

    It's really too bad we can't see VJ's face when the concept sinks in. This is one of my favorite moments when teaching APEX classes. Most people love it, some people don't. If nothing else it really proves the power and performance of the Oracle database. Each page view can generate 40+ queries, yet on the average system this takes less than .04 seconds.
    Keep in mind there are no undocumented features or "Oracle Internals" that the APEX team uses to achieve this performance, just sound database design. With every feature they add they evaluate how it will be used and design the tables and indexes to most efficiently answer the query. Sometimes this means going against "purist" normalized principals.

  • When I click on my finder to put a new folder on my desktop, it apears  on the desktop nut it conatins all the files on my desktop. What I want is a new untitled folder. By the way, this has never happened before, in my many years of using imacs

    When I click on my finder to put a new folder on my desktop, it apears  on the desktop nut it conatins all the files on my desktop. What I want is a new untitled folder. By the way, this has never happened before, in my many years of using imacs

    Are you sure you are choosing "new folder" rather than "new folder window" - new folder results in an empty "untitled" folder on my desktop whereas new folder window shows all my files.

  • Convert RAW Files in Your Aperture Database to Adobe DNG Files

    The following describes how to convert all the RAW images in your Aperture database from manufacturer formats, such as Sony's ARW and Canon's CR2, to Adobe's DNG while retaining all the Adjustments already applied to your RAW files.  In the example below I am assuming that your Aperture Library has ARW and CR2 files.  These steps work with the latest version of Aperture, being Version 3.3, and have not been tested with earlier versions (in fact, it probably will not work because the database structure changed in 3.3 - however, this means that the steps below can also be applied to your iPhoto library).  The steps are:
    1. Within Finder select the Aperture Library and Secondary Click to bring up the Shortcut Menu.  From this select "Show Package Contents"; this will open a Window showing all the files/directories contained within your Aperture Library.
    2. Drag the "Masters" folder out of the Package and place it on your Desktop.  The purpose of this step is so that Applications, such as Adobe DNG Converter, can "see" the "Masters" folder, which they cannot do if it is located within the Aperture Library Package.
    3. Run the Adobe DNG Converter, select the above "Masters" folder with the "Select Folder" button, make sure you have selected the option "Save in the Same Location", it is also a good idea to select the option "Skip source image if the destination already exists", check your Preferences then select the "Convert" button.
    4. Adobe DNG Converter will now convert all the RAW files to Adobe DNG files and save them in the same location as your existing RAW files.  Once complete, take a note of (a) the number of files converted and (b) the types of files converted, such as if the conversion includes ARW, CR2, NEF files etc.  In this example I will assume that the converter only found ARW and CR2 files; if your system is different then modify the steps below to make sure it covers all the RAW file types converted in your particular system.
    5. Select the "Masters" folder and in the Finder Window Search Field search for all the files that end in .ARW and .CR2 (this filename search list should match the types of files found by the Adobe DNG Converter in step (4)(b) above).  The number of files returned by the search must match the number of files recorded by the Adobe DNG Converter in step (4)(a) above.  Do NOT put the .DNG files in your search criteria.  Select all the files found in the search and move them to the Trash.  This will delete all the original manufacturer's RAW files from your Aperture Library leaving behind all the new DNG files.
    6. Move the "Masters" folder on your Desktop back to the root directory of the Aperture Library Package Content directory.
    7. Select the Finder Window containing the Aperture Library Package Contents.
    8. If there is a file called "ApertureData.xml" then open it with a text editor.  Search and Replace ".arw" with ".dng", ".ARW" with ".DNG", ".cr2" with ".dng" and ".CR2" with ".DNG" (note, do not use the " marks in your search).  Make sure you cover all the file types incorporated in your particular system.  Save the "ApertureData.xml" file.
    9. Traverse to the Database/apdb directory.  Select the "BigBlobs.apdb" file and open it with a Hex editor.  In this example I will use Hex Fiend by Ridiculous Fish (see http://ridiculousfish.com/hexfiend/).  Once the file is open perform a Find and Replace ensuring you are finding and replacing Text and not Hex.  In Hex Fiend this means selecting Edit/Find from the menu and then selecting the "Text" button to the top/left of the window.  In your Find/Replace field you will need to find ".arw" and replace it with ".dng", make sure you select "Replace All" (note, do not use the " marks in your search).  Do exactly the same for ".ARW" with ".DNG", ".cr2" with ".dng" and ".CR2" with ".DNG" (and whatever particular RAW files were in your system).
    10. Perform exactly the same steps in (9) for the files "History.apdb", "ImageProxies.apdb", "Library.apdb" and "Properties.apdb".
    That is it, your Aperture Library now contains DNG files instead of your original manufacturer files while still retaining all the Adjustments originally made in Aperture to those manufacturer files.  Of course, you can repeat the same step and replace your DNG files with the original RAW manufacturer files if you wish.  This process works because:
    1. Aperture does not store the Adjustments in the RAW files, it keeps these in its internal SQLite database.
    2. By using a Hex Editor you (a) don't have to play with SQLite to gain access to Aperture's data and (b) because you are replacing text that has exactly the same number of characters you are not invalidating the format of the underlying data file - this is why you use a Hex Editor instead of a simple text editor.
    Think of Aperture as being a repository that holds Adjustments which then link to the original RAW source.  Therefore, the above process simply replaces your RAW source and therefore all the Aperture Adjustments are still valid; same Adjustments, new source.  In case you ask, no, you cannot transfer Adjustments in and out of Aperture because there is no standard to transform adjustments between different photographic applications.

    A rather involved method, David.
    I am sure it works, and compliments for figuring it out, but I think one critical step is missing in your workflow: Before you begin - backup, backup, backup!
    And I think, all the edits in your database that you are doing so diligently, is what you bought Aperture for to do for you, why do it yourself?
    I convert selected raw files this way - without manually patching the Aperture Library:
    Export the originals of the raw images that I want to convert.
    Run dng-converter.
    Import the converted originals back, flag them,  and move them to the project they came from.
    Sort the project by capture date, so that identical images are show side by side.
    Then I use the Lift&Stamp tool to transfer all adjustments and tags from the original raw to the dng copy. I check, if some edits are left to do, then delete the original.
    It may take a little longer than your method, but this way all edits in the library are done by Aperture, and I am protected from accidental slips when editing the property list files. That requires a very careful work.
    Patching the database files inside the library may be justified as a last ressort, when you need to fix and recue a broken Aperture library, and none of the provided tools is working, but not as a routine operation to do batch conversion of image files. It is very error prone. One wrong entry in the library files and your Aperture Library may be unreadable.
    Regards
    Léonie

  • Aperture regards masters as previews

    Hi,
    I recently moved from iPhoto to Aperture. I opened my existing iPhoto library, which holds 25k pictures, in Aperture (so I did not use the File -> Import option, I simply opened the existing iPhote library).
    Out of the 25k photos, roughly 500 of them have a badge with showing a yellow warning sign (I filtered on "File Status" is "Missing").
    After some investigation through the Finder, it turns out that for these 500 photos, Aperture is missing the master files. So there is no photo in the My iPhoto Library / Masters but there is a photo in My iPhoto Library / Previews. However, these photos are actually masters, not previews, judging from the pixel size (3008 x 2000, which is the same as the other photos I took with my Nikon D70 at that time).
    It looks to me that somehow Aperture regards these photos not as masters, but as previews. I can't find a pattern which of the 500 images are affected by this, it seems to have happened to some random pictures in my library.
    Is there an easy way to let Aperture recognise these photos as masters again? I guess one option could be to copy each image to e.g. the desktop and import them again. How do I ensure Aperture links these newly imported photos to the photos regarded as previews?
    Would the problem be resolved if I _import_ my iPhoto library into Aperture rather than just open it? What are the differences/benefits of importing an iPhoto library compared to opening an library in iPhoto?
    Thanks,
    Ivo

    Hi Frank,
    Aperture 3.4.5
    iPhoto 9.4.3
    Yes, I could try to import the complete library as a new Aperture library but I guess this would create a library file at least equal in size of the existing library, i.e. 75 Gb. Are there any benefits of doing so? Will all the projects, keywords and albums be maintained? Will it make browsing the library faster?
    I have tried to re-import one of the problematic photos to see if Aperture would automatically recognise and regard it as a master - no success.
    Best regards,
    Ivo

  • Reading file from a folder : File dir = new File(URL+aFile_to_add);

    Hi,
    Trying to read files from a dir on my site using a JSP and bean. I've tried nearly every option for the filepath I can think of and it doesn't seem to be finding the file...
    Here's the bit:
    String URL = "images\\wedding_photos\\";
    File dir = new File(URL+aFile_to_add);
    String[] files = dir.list();
    It's working locally, but I obviously had to change the path from c://... to the above.
    The full code is listed below in the addWedding Method
    The method removes the .jpg from the file name and then writes the new file name to a database
    Thanks for any insight.
    Regards
    Jim
    public String addWedding(String aFile_to_add)
    String feedback = "unset in scrubWedding";
    try
    String URL = "images\\wedding_photos\\";
    Class.forName("org.gjt.mm.mysql.Driver");
    java.sql.Connection connection = java.sql.DriverManager.getConnection("jdbc:mysql://localhost/rhwedd2_shop?user=**********&password=*******");
    java.sql.Statement statement = connection.createStatement();
    File dir = new File(URL+aFile_to_add);
    String[] files = dir.list();
    if (files == null)
    feedback = "Sorry, couldn't find the file "+aFile_to_add+"...no files have been added.";
    else
    for (int i=0; i<files.length; i++)
    // Get filename of file or directory
    String filename = files;
    String no_extension;
    //convert string array element into a char array
    char [] charsfilename = filename.toCharArray();
    int newlength = charsfilename.length -4;
    no_extension = String.valueOf(charsfilename,0,newlength);
    filesAdded = filesAdded+", "+no_extension;
    // Show the new file names in stack trace without extension
    //System.out.println("String no_extension " + no_extension );
    statement.executeUpdate("INSERT INTO items VALUES ('"+no_extension+"',5,'"+aFile_to_add+"')");
    // write to table with item_id and weddingid
    feedback = "The following files have been added..."+filesAdded;
    if (statement != null )
    statement.close();
    if ( connection != null )
    connection.close();
    catch(Exception e)
    feedback = "Into the catch";
    e.printStackTrace(System.err) ;
    return feedback;
    }//end addWedding

    String URL = "images\\wedding_photos\\";
    File dir = new File(URL+aFile_to_add); ok, ok, I'll answer...
    1) What gives you the impression that the relative directory "images\\..." exists (or, in other words, what makes you think your current directory is the parent of "images"?

  • Automator and applescript to copy new files in a folder with same name as parent folder

    I have an iMac with a pictures folder (Finder folder) containing several subfolders with pictures. As per now, all these subfolders are imported into an iPhoto library (and the structure of the Finder pictures folder is thus maintained: The iPhoto events are named the same as the Finder subfolder). I.e. I have not created any albums in iPhoto.
    I have also set up a workflow, where new iPhone photos are automatically being synced to specified Finder folders within the iMac pictures folder. So what I want to do is to make a workflow to import potential new photos from week to week into the existing iPhoto structure. I know iPhoto has this Autoimport folder, so this one is unpacked and "mapped". So, this is what I´m hoping to do:
    Automator (iCal - want to do this on a weekly basis):
    - Get specified Finder items -- set to target folder = iMac pictures folder
    - Get folder content (with subfolders)
    - Filter Finder items
         - Items from the last 7 days (which then would be any new files created last week)
    - Applescript/shell script loop(?)
         - Get folder name for each file´s (from previous step) parent folder
         - Create new folder with same name as the file´s parent folder (if not already existing) under the iPhoto Autoimport folder
         - Copy the given file into the folder from above
    - Run iPhoto application (Automator task), which then should just auto import the new photos according to the Finder folder structure
    Whith the workflow above, I aim to maintain the existing iPhoto structure, and just import new photos into the existing structure. Creating folder names under the Autoimport, similar as the existing Finder folder names / iPhoto events should make it possible to have the new files imported under the existing event, right?

    Anyone?
    I have now switched to Aperture (from iPhoto) due to Aperture´s capability to handle Finder folder structure, and due to the possibility of having the pictures within Aperture as referenced files to the pictures within the Finder folders (i.e. possibility to delete pictures from both library and Finder folder at the same time).
    So I have a superior Finder folder called "Album". Within "Album" I have several subfolders (sub albums) containing pictures. The "Album" folder with subfolders are imported into Aperture as "Projects and albums", and the pictures are uploaded within the Aperture structure as referenced files. So for now the Aperture structure is more or less a direct mirror of the Finder folder structure, whereas "Album" is the project.
    And this is my current workflow in Automator, but I´m searching help with my Applescript:
    - Get specified Finder items (target folder = the superior Finder folder "Album")
    - Get Folder content
    - Filter Finder items (to look for potential new files to import into Aperture)
         - Kind is not folder
         - Date created last X days
    The output files from this task enters an Applescript
    on run {input, parameters}
           repeat with f in input (**Loop**)
                   tell application "Finder"
                          set fileName to name of (f)
                          set parentFolder to name of container of (f)
                          tell application "Aperture"
                                 tell library 1
                                        tell project "Album"
                                               if (exists album parentFolder) then
                                                 ** I then would like to check if fileName already exist within the existing album**
                                                 ** If not existing, I would like to import file f into the existing album as a referenced file**              
                                               else if not (exists album parentFolder) then
                                                       make new album with properties {name:parentFolder}
                                                ** I then would like to import file f into the new album as a referenced file**
                                               end if
                                        end tell
                                 end tell
                          end tell
                   end tell
           end repeat
    end run

Maybe you are looking for