massconvert
#!/bin/bash
#This script uses the convert command from the imagemagik library to convert a
#bunch of file at once. All the files in the current folder will be converted
#to the extension specified as argument
for f in `ls`
do
n=`echo $f | cut -d . -f1`
convert $f $n.$1
done
Publicité
Publicité