erlug
[Top] [All Lists]

Re: [Erlug] bash

To: erlug@xxxxxxxxxxxxxx
Subject: Re: [Erlug] bash
From: "Ivan Sergio Borgonovo" <mail@xxxxxxxxxxxxxxx>
Date: Sat, 9 Mar 2002 20:40:05 +0100
On 9 Mar 2002 at 19:04, Maurizio Lemmo - Tannoiser wrote:

> * sabato 09 marzo 2002, alle 17:35, Pierpaolo scrive:
> > c'è un modo per far funzionare

> > unzip $(find . -name "*.zip")

> > anche in presenda di nomi di file con spazi?

> prova

> find . -name "*.zip" -exec unzip {} \;

> non garantisco.

unzip "$(find . -name *.zip)"

nemmeno io garantisco

oppure

find . -name *.zip | unzip
find . -name *.zip | cat | unzip (?)

o

unzip `find . -name *.zip`


un commento: sono io che sono paranoico o robe tipo exec e eval è
sempre meglio prenderle con le pinze per motivi di sicurezza?


--
Salve
Ivan Sergio Borgonovo
http://www.webthatworks.it/



<Prev in Thread] Current Thread [Next in Thread>