[gull] bash>for>word

Leopoldo Ghielmetti Leopoldo.Ghielmetti at a3.epfl.ch
Fri Dec 5 17:29:01 CET 2003


bon, mais si on utilise le find moi je préfère:
find /mp3 -type f -exec ./script {} \;

comme ça on ne passe même pas par xargs

ciao, Leo

----- Original Message ----- 
From: "BRINER Cedric" <briner at infomaniak.ch>
To: <gull at lists.alphanet.ch>
Sent: Friday, December 05, 2003 2:39 PM
Subject: Re: [gull] bash>for>word


> Excellent...
>
> merci encore pour leS réponseS diverseS et multipleS
>
> Cédric Briner
>
> >
> >    find /mp3 -type f -print0 | xargs -0 -n1 ./script
> pas mal..
> Je ne connaissais pas ce `xargs', mais ca parait plutôt intéressant.
> >
> > Il y a bien l'Input Field Separator (IFS), mais je ne jouerais pas
> > avec ça.
> je m'en doutais bien qu'il devait y avoir un truc ds le genre
>
>
>
> -- 
>
>                     +41(o)\                       at
>                            76/\    -o762   briner/  \infomaniak
>                                577/     \ /                    \
>   .       .       .   .  .  .  . -=Cedric Briner=- .   . .ch - dot
>                                         /
>   46b rue Jacques-Dalphin,CH-1227 Geneva    \
>
> _______________________________________________
> gull mailing list
> gull at lists.alphanet.ch
> http://lists.alphanet.ch/mailman/listinfo/gull
>
>
>




More information about the gull mailing list