Re: Mehrere Dateien umbenennen...

From: universe <universe(at)>
Date: Fri, 09 Nov 2001 02:13:41 +0100

moin philon,

Philon wrote:
> Ich möchte ein paar Zeichen aus den Namen mehrerer Dateien löschen
> beispiel:
> Nice-File.txt" soll werden: "File.txt"



for i in *File.txt
  do MOVEFILE=`echo $i | cut -d "-" -f 2` ; mv $i $MOVEFILE

ps: mac sucks. :)


there's the microsoft way, there's the linux way, and there's
the right way.
-- freebsd, the winner's choice.
To Unsubscribe: send mail to majordomo(at)
with "unsubscribe de-bsd-questions" in the body of the message
Received on Fri 09 Nov 2001 - 02:13:47 CET

search this site