[LUGOS] rename

Andrej Lajovic andrej.lajovic at guest.arnes.si
Fri Nov 21 16:45:03 CET 2003


On Fri, 21 Nov 2003, Bostjan Muller wrote:

> Stupid ampak dela:
> for i in *_en_*.txt; do mv $i `echo $i |sed 's/_en_/_sl_/g'`; done
>
> (dela dokler v imenih ni presledkov ali podobnih zadev).

Ce so presledki, dodas samo se "" okoli problematicnih spremenljivk.

for i in *_en_*.txt; do mv "$i" "`echo $i |sed 's/_en_/_sl_/g'`"; done


Lep pozdrav,
Andrej



More information about the lugos-list mailing list