Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- inputlist=$1
- outputdir=$2
- speedrate=$3
- echo $speedrate
- if [ ! -d $outputdir ];then
- mkdir $outputdir
- else
- echo "文件夹已经存在"
- fi
- for line in ` cat $inputlist `
- do
- filename=${line##*/}
- outputname=$outputdir"/"$filename
- echo $outputname
- sox -t flac $line -t flac $outputname speed $speedrate
- done
Add Comment
Please, Sign In to add comment