Scrive Mattia <[EMAIL PROTECTED]>:

> Stranamente la cosa mi � capitata oggi anche a me:
> 
> # for i in *; do if [ ! -d "$i" ]; then rm  "$i";fi ; done

grazie della soluzione.

perche' testare se c'e' il file? con if ! -d 
e' un "trucco" bash, per evitare qualche problema del "for i in" ?

bye


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Rispondere a