convert.sh 98 B

123456
  1. #!/bin/bash
  2. for file in $(basename -s .jpg $(ls *.jpg))
  3. do convert "$file".jpg "$file".png
  4. done