media processing in the cli

convert RW2 format to jpg with imagemagick. while maintaining quality. for f in *.RW2; do magick " $f " -quality 85 "GooglePhotosBackup/ ${ f%.* } .jpg" exiftool -tagsFromFile " $f " -all:all "GooglePhotosBackup/ ${ f%.* } .jpg" -overwrite_original done convert mp4 into good quality video.