Mailinglist Archive: opensuse (2358 mails)

< Previous Next >
[SLE] Name Game
  • From: super-suser@xxxxxxxxxx (Jon Pennington)
  • Date: Fri, 01 Oct 1999 00:10:18 PDT
  • Message-id: <938761818.26623.47@xxxxxxxxxx>



Here's one for you scripting gurus;

I have a directory with a bunch of tarballs in it (GTK+ themes, actually).
Each of the names is like this:

theme-name[1].tar.gz

I want the names to be like this:

theme-name.tar.gz

Can't I write a script that will automatically rename all of the files? I
have around 300 of them so far, and I'd really rather not do it by hand :).

PS: Yes, I changed my email address again. All the more reason to post your
RE:'s to the list ;).


--
-=|JP|=- (Resident GNUbie)
Jon Pennington | SuSE Linux 6.2
super-suser@xxxxxxxxxx | Kernel 2.2.10
Kansas City, Missouri | AMD K6-III 450

________________________________________________________________
Get FREE voicemail, fax and email at http://voicemail.excite.com
Talk online at http://voicechat.excite.com

--
To unsubscribe send e-mail to suse-linux-e-unsubscribe@xxxxxxxx
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/


< Previous Next >