FG
💻 Software

Find all filename.ext1 where no filename.ext2 exists in OS X or the shell

Fresh6 days ago
Mar 15, 2026786 views
Confidence Score0%
0%

Problem

I need to create both TIF and JPG versions of a large set of images. All JPG images already exist, but only a part of the TIF images. Is there an easy way to search a directory to find all JPG files that have no corresponding TIF file (i.e. a file with the same name but with different file extensio…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Find all filename.ext1 where no filename.ext2 exists in OS X or the shell

Low Risk

Assuming all images are in the directory and has the suffix, the following little script will print out all image files that has no corresponding file on UNIX: Paste this to a file, and save it a folder above the one where your images are stored. Yo…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment