ImageMagick — the generalist
mogrify edits in place; magick writes new files. Prefer the second until you are sure.
# Resize and compress into a new folder (safe)
mkdir -p out
magick mogrify -path out -resize 1600x1600\> -quality 80 -strip *.jpg
# The same, overwriting the originals (destructive — copy first)
magick mogrify -resize 1600x1600\> -quality 80 -strip *.jpg
The > after the dimensions means "only shrink, never enlarge", which is almost always what you want. -strip removes metadata including EXIF and colour profiles.