convert.sh 88 B

12345
  1. #!/bin/bash
  2. for f in $(ls *jpg); do
  3. convert $f -quality 85 temp
  4. mv temp $f
  5. done