Dirk Ouellette wrote:

>  MUSIC]# mv /data2/MUSIC/*.php /data2/MUSIC/SoKalmery*.mp3
> mv: when moving multiple files, last argument must be a directory
> Try `mv --help' for more information.

This command will do what you want, if your Linux distribution has the
rename command installed.

        rename .php .mp3 *.php

To learn more about the rename command, you can look at its manual page
or its info page.

        man rename
        info rename

(Hey, *I* didn't know abut the rename command until just now.  I was
looking for an old Perl script by that name, which is much clunkier
but more general.  I just deleted the Perl script from my path --
this is better.)

-- 
Bob Miller                              K<bob>
kbobsoft software consulting
http://kbobsoft.com                     [EMAIL PROTECTED]
_______________________________________________
EuG-LUG mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug

Reply via email to