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

Re: Dateiendungen umbenennen



Moin,

* Gerhard Meier wrote (2005-03-15 10:00):
>On Mon, Mar 14, 2005 at 08:06:50PM +0100, Mario Holbe wrote:
>> for i in *.ra; do mv -i "$i" "$(echo "$i" | sed -e 's/\.ra$/.rm/')"; done
>
>sed brauchts hier gar nicht:
>
>	for i in *.ra; do mv -i "$i" "${i%.ra}.rm"; done

Klappt das auch mit der Bourne Shell?


Thorsten
-- 
They want to go into the rainforest of human thought and mow the thing down.
    -  John Perry Barlow

Attachment: pgpmzLMBZKJRc.pgp
Description: PGP signature


Reply to: