Welcome Guest

Pages: 1
Moving replicated photos to bin
SnowdogPostSeptember 13, 2025, 11:23
Pro
Posts: 361
Registered:
March 15, 2022, 17:12
Normal topicMoving replicated photos to bin

Thought I'd get back to the forum with a fresh question & stop abusing your good nature over email.

The title's a bit of a misnomer. The photos aren't replicated so much as having the same file name but a different file extension.

As you may have gathered, I'm working through my old photo libraries (from iPhoto) & moving everything into a library of my own making which I view in Adobe Bridge.

The process I'm going through needs to be quite hands on so that I don't miss anything important, but thanks to actions you've written for me along with batch actions I've made in Photoshop & file renaming functions in the finder, much of the pain has been taken out of the hands on process.

I've just discovered a new part of the process that could be made easier.

For reasons that are quite nerdy & tortuous, I'm ending up with tif files in the folder alongside jpgs. (The tif files are rotated versions of the jpgs of the same name.) I then need to manually select the jpgs that have the same name as the tif files & bin them. (See screenshot.)

I'm wondering if an action could be made to do this part of the process?

Image

2MR2PostSeptember 13, 2025, 11:51
Avatar photo
Administrator
Posts: 2362
Registered:
August 23, 2012, 19:27
Normal topicMoving replicated photos to bin

Just making sure about 'bin'.

So if a jpg file exists with the same name as a .tif file, move the jpg file to the trash (or delete them)? ie. keep the.tif

SnowdogPostSeptember 13, 2025, 12:01
Pro
Posts: 361
Registered:
March 15, 2022, 17:12
Normal topicMoving replicated photos to bin

Yes. 🙂

2MR2PostSeptember 13, 2025, 12:53
Avatar photo
Administrator
Posts: 2362
Registered:
August 23, 2012, 19:27
Normal topicMoving replicated photos to bin

Download https://2manyrobots.com/actions/Delete-JPG-files-with-same-name-as-TIF.zip

I copied and pasted a lot of the code in the prepend... action. When you start it you'll be shown a config panel. The panel only displays once.

Select or drop a single folder. File matching is case insensitive. .jpg and .JPG will work. abc.tif will remove ABC.jpg, etc.

SnowdogPostSeptember 13, 2025, 13:01
Pro
Posts: 361
Registered:
March 15, 2022, 17:12
Normal topicMoving replicated photos to bin

Okay, thanks. One possible problem: As a necessity of my workflow, the prepend action will need to be run several steps before the "replace files with same name" action. Will it prepend the date stamp a second time?

2MR2PostSeptember 13, 2025, 13:05
Avatar photo
Administrator
Posts: 2362
Registered:
August 23, 2012, 19:27
Normal topicMoving replicated photos to bin

No the prepend will be run again effectively removing the older prepended data first. If you run it ten times the filenames will not change.

SnowdogPostSeptember 13, 2025, 13:19
Pro
Posts: 361
Registered:
March 15, 2022, 17:12
Normal topicMoving replicated photos to bin

Cool!

Pages: 1
Mingle Forum by Cartpauj | Version: 1.1.0beta | Page loaded in: 0.05 seconds.