Manas Tungare
  • Member for 8 years, 8 months
  • Last seen more than 3 years ago
How to delete JPG files, but only if the matching RAW file exists?
1 votes

Here’s a bash script for Mac OS X. It may work on Linux with some changes. #!/bin/bash read -p "Delete JPEGs when DNG exists? Ctrl-C to cancel. [Enter] to continue: " for FILE in *.dng; do ...

View answer