Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a folder of several hundred JPGs. All of them are either big (640x480) or small (350x250). I'd like to delete all the small images in one batch.

In the past, I've opened all the pictures in Preview, then flipped through them and pressed the delete key for the small ones. However, when I just tried that, Preview is showing the images as "locked" and is ignoring my tap on the delete key. (I don't know why this used to work and now doesn't...)

So I'm looking for another solution. Some thoughts about possible solutions:

  • Is there a way to add a column to the Finder list view that shows the image dimensions? Then I could sort by that column and delete the small ones in one swoop. (This would be really nice since it would be nice to see the dimensions for all the images in the folder, regardless.)

  • Can I get Preview to let me use the delete key, like it used to?

  • Maybe there is a solution using Automator?

I definitely do NOT want any solutions that involve installing new software just to perform this (seemingly simple!) task.

share|improve this question
Do you already have Photoshop? It has a couple of Automator actions that might help. – Thilo Apr 18 '12 at 1:27
I do-- and that's not a bad idea-- but I think doing it in the Finder (per the answer I accepted, below) is much quicker. – Eric Apr 18 '12 at 23:13
up vote 2 down vote accepted
  1. Open finder and navigate to that folder
  2. cmd + F
  3. Search "in this folder"
  4. Add in the search option "other"
  5. When the option menu pop up, select "Pixel Height"
  6. Add another "other", "Pixel Width"

Then search, and delete.

share|improve this answer
+1. And after you have done that once, "Pixel Width" will appear in the default menu, so you don't have to go through "Other" every time – Thilo Apr 18 '12 at 3:05

A Smart Folder could help:

Kind: Image
Pixel width: Greater Than 400

Set it up to search only the input folder, not the whole computer.

To delete the others, the quickest way is maybe to copy all from the Smart Folder somewhere else and then delete the original folder. Or maybe Automator can build on that.

share|improve this answer

What about sorting the files in Finder by their file size, and then selecting a bunch and deleting them? The smaller images should be smaller in file size than the larger ones.

share|improve this answer
That sound unreliable, though. Complex smaller images can result in larger files. – Thilo Apr 18 '12 at 1:25
Nice idea but Thilo is right-- the file sizes are all over the place and there's no correlation between the filesize and the image dimensions. – Eric Apr 18 '12 at 23:11

Using CMD+BACKSPACE to move files to Trash works fine for me in Lion's even when files are locked for editing.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.