Batch Resize Photos in Linux

Oops! I forgot to tell my mom to resize her photos before uploading them to We had colossal 7MB+ images floating around on the web server, and SSD space doesn't come cheap. No problem, I just installed ImageMagick, backed up my directories, then ran the following command which finds all the 1MB+ *.jpg files within the uploads directory, then resizes them to a reasonable dimension (800xwhatever)

find ./uploads -name "*.jpg" -size +1024k -exec mogrify -resize 800 {} \;