[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Need help with scripting



On Thursday 17 October 2002 21:32, Shawn Lamson wrote:
> good job... one question... should it be "$@" instead of $@?  ie. what
> if he had spaces in the filenames... you could add a
>
> mv "$file" "`echo $file | tr " " "_"`"
> to turn all spaces in the filename into underscores as the first line
> of the loop to handle that. right before
> base=`basename $file .mp3`
>

I was not trying to completely solve the problem, just lead down the path.  
Finding the bugs is the fun part (-:



Reply to: