I bought a special digital camera that saves a proprietary image format, which ends in
.lri. The company has a desktop program to render .lri files into standard jpg and dng files.
I'm finding that as I look at my directory where I've saved this files, I've missed converting some files. However my ability to visually notice missing pairs, the number of files, and the nested directory structure makes it difficult to definitely find all the files I want to convert.
I'm looking for a shell command to find files of extension
.lri when there exists no matching filename of
.dng (I'm not worried about jpg files presently). For instance, if I have
L16_04198.lri, I should have
L16_04198.dng, if I was diligent in my work months or years ago.
Edit Two constraints that I failed to mention: The files are in a nested directory structure, so this needs to be a recursive search. Also, I have spaces in the names of directories, so it needs to be able to handle that, also.
So I need a command or script that will report to me the filename
L16_04198.lri, if it finds no
L16_04198.dng, anywhere in the nested subdirectory structure (I may have rendered the file, but put it in the wrong subdirectory).
I'm familiar with the
find command, but I'm not sure how to look for "not" a filename, and report if that name is not found.