I want to convert all NEF/RAW image files to an image format that could be easily opened without additional tools.
I thought about using ImageMagick's convert
tool as mentioned in How can I convert a .jpg or .png image to .raw format?
However, I don't see any parameter for recursively looking for images in all subfolders nor for removal of old/original images in the documentation of the convert
tool.
Should I look for another tool, or the only option is to write some loop around convert
?
find
allows you to recursively find files and folders, and offers the opportunity to execute a command on the files that were found using the-exec
option. Seeman find
to learn about thefind
command. You will also be able to find many examples on how to usefind
and its-exec
and-execdir
options.