On Mon, 28 Feb 2005, Jason Holt wrote:

> > I want to change them so they look like this (essentially, take out the K):
> > 
> > DY1-1-MP.png  DK1-11-RP.png
> 
> Try this:
> perl -e 'for(<*>) { my $fn = $_; s/DYK/DK/; system('echo','mv',$fn,$_); }'

(Then take out the 'echo', after you've verified it does what you want.)

                                                        -J


--------------------
BYU Unix Users Group 
http://uug.byu.edu/ 

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to