Hallo Debian,

* Udo Mueller <[EMAIL PROTECTED]> [09-04-02 00:18]:
> * Robert Rakowicz <[EMAIL PROTECTED]> [08-04-02 17:05]:
> > Olaf Baumert <[EMAIL PROTECTED]> writes:
> > 
> > > Andere Alternaive --> PHP ;)
> > 
> > das habe ich mir auch �berlegt. Das Problem dabei ist, das die dateien
> > alle *.php heissen m�ssen. Das heisst aber wiederrum das mein Kumpel
> > alle Scripte usw. �ndern darf.
> 
> for i in `ls *.html`; do mv $i $(basename $i .html).php; done

ich verga� noch:

for i in `ls *.php`; cat $i | sed e 's/.html/.php/ > $i; done

Gruss Udo

-- 
ComputerService M�ller |  You want my PGP-Key?  |   Tel: 0441-36167578
Kaspersweg 11a         | mail  -s "get pgp-key" | Fax: 01212-511073287 
26131 Oldenburg        | AD0EEC22 is not guilty |  Mobil: 0162-4365411
     Registrierter Linux-User #225706 auf Debian GNU/Linux 2.4.17

Attachment: msg05454/pgp00000.pgp
Description: PGP signature

Antwort per Email an