Datasets:
File size: 198 Bytes
4374767 |
1 2 3 4 5 6 7 8 9 10 11 |
#!/bin/sh
oldsuffix="WAV"
newsuffix="wav"
dir=$(eval pwd)
for file in $(ls $dir | grep .${oldsuffix})
do
name=$(ls ${file} | cut -d. -f1)
mv $file ${name}.${newsuffix}
done
|