I'm currently using this find command to find files and convert to jpg, but it left the original file intact. I wanted it deleted.
find . -type f \( -name '*.jpeg' -o -name '*.gif' -o -name '*.bmp' -o -name '*.tiff' -o -name '*.png' \) -exec mogrify -format jpg {} \;
What can I do to make it so that it delete the original files after finish converting? Thanks in advance.