* UNIX question
@ 2000-07-27 4:00 Jocelyn Burget
2000-07-27 4:00 ` Eckhardt Wallmeroth
0 siblings, 1 reply; 2+ messages in thread
From: Jocelyn Burget @ 2000-07-27 4:00 UTC (permalink / raw)
Hi
I have got a serie a files called:
EURO2-***.dat
and I like to change all the names to:
EURO-***.dat
without having to do that manually.
Is there a UNIX commande or else (script...) to do that quickly
Thanks
J.B
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: UNIX question
2000-07-27 4:00 UNIX question Jocelyn Burget
@ 2000-07-27 4:00 ` Eckhardt Wallmeroth
0 siblings, 0 replies; 2+ messages in thread
From: Eckhardt Wallmeroth @ 2000-07-27 4:00 UTC (permalink / raw)
a solution for ksh or bash:
for fi in EURO2-???.dat; do echo mv $fi EURO${fi##EURO2}; done
to actually do it remove the 'echo',
Eckhardt
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-07-27 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-07-27 4:00 UNIX question Jocelyn Burget
2000-07-27 4:00 ` Eckhardt Wallmeroth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox