> On Nov 28, 09:43:41 AM (Thursday), or Thereabouts, Rajesh wrote:
> :: On Wed, Nov 27, 2002 at 04:51:56PM +0530, Sridhar M.A. wrote:
> :: > >
> :: > Rajesh, I meant mmv for files on linux, not for DOS. Of course,
> :: > I have used it to mass rename dos files also. Works beautifully.
> :: >
>
---end quoted text---
IIRC, mmv is very much debian specific. Most distros, however,
pack rename (usually at /usr/bin). The other option is to use a
script like this:
#!/bin/bash
# ren : script to rename extensions of files
if ! [ $2 ]; then
echo "Usage: `basename $0` [old-suffix] [new-suffix]"; exit 1
fi
for FILENAME in *$1; do
mv $FILENAME ${FILENAME%$1}$2
done
exit 0
HTH
Bish
--
:
####[ GNU/Linux One Stanza Tip (LOST) ]#######################
Sub : Knowing your run-time X configuration LOST #351
To know the run-time configuration of your X server in full
detail, inclusive of version, config files, chipset etc do:
o X --probeonly 2> filename
o less filename
####<[EMAIL PROTECTED]>###################################
:
-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T
handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help