[clug] Help with bash script

Brett Worth brett at worth.id.au
Sat Nov 1 00:02:20 GMT 2008

Rob Bolin wrote:

> Can anyone suggest a fix for escaping these characters out in a script? My 
> script follows.
> Thanks in advance
> Rob
> #!/bin/bash
> i=1
> for file in *.mp3
> do
>     mv ${file} ${i}

mv "${file}" "${i}"

should work.


More information about the linux mailing list