blob: fb5256a005f5e075d6cb8cc8e356cf72f5864f43 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/bash
if [ $# -eq 1 ] ; then
if expr "$1" : "^.*\.....$" ; then
ffmpeg -i "$1" "${1:0:-4}mp3"
fi
if expr "$1" : "^.*\....$" ; then
ffmpeg -i "$1" "${1:0:-3}mp3"
fi
fi
|