On Thu, 2003-07-31 at 11:25, Oscar Plameras wrote:

> $cat /appl/bin/mv.sh
> 
>     #!/bin/bash
>     # rename files with uppercase names to lowercase
      #        V changed this bit to allow filenames as args
>     for i in $*
>     do
>     mv $i `echo $i | tr '[A-Z]' '[a-z]'`
>     done

/appl/bin/mv.sh *jpg



-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to