Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Delete original ONLY IF not used in a non-reject version

* I use only referenced masters *


Sometimes I'll shoot maybe 30 photos of a virtually identical scene with different settings and slightly different timing or lighting or focus.


Then I'll go back to the computer and edit a few of them into maybe 20 preliminary versions that may only use 12 of the original files.


This means I end up with a gig of superflous raw files, eating up space on my precious cramped SSD.


I can't tell them apart by sight and I want to get rid of originals that are used in only in a rejected version.


If I switch to just view rejects and delete originals and versions I lose the originals for versions I do want to keep.

Posted on Jan 27, 2014 12:40 PM

Reply
Question marked as Best reply

Posted on Jan 27, 2014 1:07 PM

So you shot 30 images edit 12 and want to get rid of the other 18, is that what you are saying?


The 18 have no edits applied so filter for that.

26 replies

Jan 28, 2014 6:15 AM in response to GoClick

Filter for Rejected. Select. Delete. Empty Trash. Check "Move Referenced files to System Trash" (wording not exact).


When you delete the last Image based on an Original, Aperture moves (if instructed) the Original to the System Trash. If there are any other Images based on that Original, Aperture will not move the Original to the System Trash (because the Image being deleted is not the last Image based on the Original).


In short, Aperture defaults to the behavior you want. As long as you retain an Image based on an Original, Aperture will not delete the Original unless you explicitly tell it to, via "File➞Delete Original Image and All Versions". That command should be rarely used.


Frank -- do you mind confirming the above? Thanks.


A good practice, IME, is to auto-create Version Stacks. Versions Stacks are Stacks that contain all the Images based on any single Original. "Aperture➞Preferences➞General➞Automatically stack new Versions".


Additionally, I have found it useful to color-label my Images. Red=develop this. Orange=changes made; not finished. Green=Developed. Gray=stop developing, but keep. Used with the Reject rating (which I have re-assigned to "x" on my keyboard), this lets me always pick up wherever I left off, and never leaves me in doubt about the status (in my workflow) of any Image.

Jan 29, 2014 9:23 AM in response to Frank Caggiano

I have a DSLR I shoot still life and landscape photos which frequently means I take dozens of nearly identical exposures.


When I import the raw files to aperture I have aperture copy them into a folder, not stored them inside the aperture library. They are in ~/Username/Pictures/Originals/YEAR/YEAR-MONTH-DAY/


I will then create versions of some of these image in aperture, I may make four versions from one raw file, two versions from another, and one or two from some others. I then grade these initial versions as rejects, or 1-5 stars.


This means I have images which only have my default edits applied to them as well as versions which have edits, but are rejected. But the rejected versions may share a raw file with a version that has a 5 stars.


If there is a raw file that I reject all versions from and delete those versions and empty the aperture trash the raw file is not removed from the disk. I would like it to be.


However if I select the rejects and choose to delete the original and all versions I would lose my 5 star versions as well.


What I need is a way to get Aperture to delete the raw files for which there are only rejected versions, or no versions at all (although then I don't know how Aperture would know about that raw file.)


This is important because I like to work off the SSD in my MBP which is getting full, full sadly of raw files of which 80% are not needed.

Jan 29, 2014 10:35 AM in response to GoClick

What I need is a way to get Aperture to delete the raw files for which there are only rejected versions, or no versions at all (although then I don't know how Aperture would know about that raw file.)

Aperture has no smart rule to count the number of versions of an image . Try the following work-around:


Consolidate your rejected versions with "File > Consolidate" before you delete them. Now you can delete all rejected versions with "File > Delete Version ⌘⌫". When you delete the last remaining version the original raw file will be deleted as well. But as long as there is another version of the image the original file will be saved. When you are done with deleting rejected versions, you can use a smart search to find any remaining managed image and relocate it back to the folder outside.


Deleting images and getting rid of orphaned original image files is easier for managed images.


If you do not want to use the work-around to make the image managed before deleting versions, delete your versions only while browsing them in the project, sorted by filename. That will keep all versions side-by-side and you can see, if you are about to delete the last version. Or drag each version you want to delete to a new, empty project: When you move a version to a new project, all other versions will go along. You now will have a project containing only one image with all its versions. You should be able to see by the "rejected" badge, if you should delete using "delete version" or "all versions and the original".

Jan 29, 2014 11:11 AM in response to GoClick

This should work. Just tested it here ad it seem to do what you want.


If you go to the Rejected Album and select all the images and do a delete versions all images that have only a single version will delete the version and the master. All versions from originals that have multiple versions will only delete this version.


Now if you have referenced originals in the selection befoe the referenced original is deleted you will need to select the checkbox in the confirmation window


User uploaded file

You will not need to do that for managed originals.

Jan 29, 2014 11:42 AM in response to Frank Caggiano

GoClick has only referenced originals.

* I use only referenced masters *

I tried exactly what you suggested, Frank, before I posted my complicated work-around.

There is one problem Frank. When I tried with only referenced images, the originals were never deleted. I hope, I have no problem with my Aperture trash 😟 The "Are you sure you want ..." panel simply did not show, when I emptied the Aperture trash, and the referenced originals stayed behind, in two cases: if I had trashed the versions one-by-one, or if I had trashed all versions for one image at once. No prompt at all. And the referenced original remained in the folder.


So, you are saying, this should still work for referenced originals on the system drive? Then I guess, I'l have to start repairing permissions 😀

Jan 29, 2014 11:56 AM in response to léonie

The screen capture was from my test run so it is working here for me.



the referenced originals stayed behind, in two cases: if I had trashed the versions one-by-one, or if I had trashed all versions for one image at once. No prompt at all. And the referenced original remained in the folder.


Are you saying that the only way you can delete the referenced orginal is if you select Delete original and all versions? If so that is not what I am seeing and at least for the way Aperture has always worked it is wrong.


What about managed originals?


Aperture has always deleted the original (managed or referenced) when the last version was deleted. You aren;t running some super secret versions by any chance? 👿


Wait a minute; if you deleted the version one-by-one and the referenced original was never deleted what happened when you deleted the last version? Did the image no longer appear in Aperture but was on the disk or did it still show in Aperture?


Message was edited by: Frank Caggiano

Jan 29, 2014 11:58 AM in response to léonie

It has always worked this way -- as described by Frank -- for me, afaik (viz.: when the last Version based on any Original is removed from the database by emptying the Aperture Trash, and I select "Move referenced files to System Trash", the Original is moved to the System Trash whether it is Magaged or Referenced, and regardless of what drive it is on). I'm pretty certain of this because I _always_ check the System Trash, and empty it every day. This is how Aperture has worked (and been supposed to work) since I got on-board with 3.0.


I will try to confirm that again today. (Fwiw, I'm still on 3.4.5 on 10.8.5. I rarely repair permissions, but I do run "Repair Database" about every couple of weeks on every large Library I manage, for purely precautionary reasons.)


Message was edited by: Kirby Krieger

Jan 29, 2014 12:09 PM in response to GoClick

GoClick -- you workflow makes sense. It _should_ be working this way. As you can see, Frank and Leonie (and I) are looking into why it isn't for you.

GoClick wrote:


What I need is a way to get Aperture to delete the raw files for which there are only rejected versions, or no versions at all (although then I don't know how Aperture would know about that raw file.)

There are a few work-arounds for this. The most trustworthy (imho) for deleting Originals that no longer have an Image in your Library is to relocate _all_ Originals to a different drive, confirm that there are no missing Originals, and then delete all the files left in the Finder folders that had held the Originals. Then relocate the Originals back (and again confirm none missing).

Jan 29, 2014 12:46 PM in response to Frank Caggiano

What about managed originals?


Aperture has always deleted the original (managed or referenced) when the last version was deleted. You aren;t running some super secret versions by any chance?👿

Not on this MBP. It is the one I am using for work - no fun allowed.


What about managed originals?

For managed versions everything is working as advertised. That's why I suggested to consolidate before deleting.

Wait a minute; if you deleted the version one-by-one and the referenced original was never deleted what happened when you deleted the last version? Did the image no longer appear in Aperture but was on the disk or did it still show in Aperture?

What I did -

  • I selected a referended version in the Browser in the project.
  • I revealed the original in the Finder
  • I used "delete version" on each of the three versions of the image.
  • Then I emptied the Aperture Trash.
  • No prompt or warning. The Trash emptied. The revealed referenced original stayed in the folder.
  • Second try: I selected all three versions at once and used "delete versions".
  • Emptied the Trash - again no prompt. And again the original not deleted.


You are confirming that this should still be working correctly. I'll try with a different library.

Delete original ONLY IF not used in a non-reject version

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.