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