jpg.bash 78 B

1234567
  1. #!/bin/bash
  2. for img in *.JPG; do
  3. mv -- "$img" "${img%.JPG}.jpg"
  4. done
  5. exit