[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bulk filename changes



I starting thinking about using the rm joke here, but it would be too 
easy.


--
Tighe Schlottog         workape         fiaid
"Nothing is too cruel if it is funny enough."

On Wed, 19 Jan 2005, Ray Lewis wrote:

> How about this.
> 
> rename .in.out .jpg *
> 
> Good luck.
> 
> Ray
> 
> -----Original Message-----
> From: silug-discuss-owner@silug.org
> [mailto:silug-discuss-owner@silug.org] On Behalf Of Jason V Smith
> Sent: Wednesday, January 19, 2005 5:34 PM
> To: SILUG Discuss
> Subject: bulk filename changes
> 
> Good evening,
> 
> I'm stumped not sure where to look.  Here's what I want to do.  I have a
> bunch of pictures that are named similar to this pb040016.jpg.in.out.
> What I want is to rename the file to this pb040016.jpg.  But I have a
> bunch of files like this.  I know this is probably pretty simple but I'm
> not sure what command(s) could help.  My only stipulation, if at all
> possible, is to not use perl/python/sed or awk.  But feel free to offer
> up perl one-liners that would do this.  It will help further what little
> (I emphasize little) perl knowledge that I have.
> 
> Your help is greatly appreciated.
> 
> Jason
> --
> Jason Smith
> jvsmith at midamer dot net
> 
> 
> -
> To unsubscribe, send email to majordomo@silug.org with "unsubscribe
> silug-discuss" in the body.
> 
> 
> -
> To unsubscribe, send email to majordomo@silug.org with
> "unsubscribe silug-discuss" in the body.
> 

-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.