From: RT <rat...@gm...> - 2015-02-23 16:40:14
|
Greetings I have several wav files all in the same directory along with crossfade_cat.sh I use a script to crossfade multiple files together but I'm getting a syntax problem. The script I run is #!/bin/bash crossfade_dur=1 i=0 for file in *.wav do i=$((i+1)) if [ $i -eq 1 ] then cp $file mix.wav else crossfade_cat.sh $crossfade_dur mix.wav $file auto auto fi done But I get an error in the line "crossfade_cat.sh $crossfade_dur mix.wav $file auto auto" saying "crossfade_cat.sh: not found" the thing is I have all the files in the same directory, and made them executable. PS I'm using ubuntu 14.04 64bit. How can I fix this? |