D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] I'm back :-)



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 24 June 2003 20:09, Kai Hendry wrote:
> On Tue, Jun 24, 2003 at 06:50:40 +0100, Jonathan Melhuish wrote:
> > Are there any 'sed' wizards out there?  It all looks very powerful but a
> > bit
>
> It is difficult. Use python or something else. :)

Okay, but short of learning sed, awk or Python to rename a file, is there any 
chance anybody could write me a short script, in the language of your 
choosing, that renames all the files in a directory (and subdirectories) such 
that:

index.html?loadsofcrap -> index.html

Please?  Pwetty please?

/me wishes he could email free pizza

> p.s. you posted this twice

Yeah, I noticed that; it didn't seem to come through the first time (or the 
second, actually), I guess I just wasn't being patient enough.  It's nice to 
have this list back though, I feel a bit lost without it :-)

Jon
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE++LjSeTVvFHAhe5cRAn+/AJ47msx7lm1+Ow+w+yEcZVLHCMjIGACdFGkJ
YkeEhCO01O0N++miz9p/28U=
=xJVK
-----END PGP SIGNATURE-----


--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.


Lynx friendly