Em 01/12/06, Flavio Torres <[EMAIL PROTECTED]> escreveu:
>
>
>
>
>
>
> -----BEGIN PGP SIGNED MESSAGE-----
>  Hash: SHA1
>
>  Celso Viana escreveu:
>  >
>  > All,
>  >
>  > Preciso apagar vários arquivos... é possível coloca-los todos no
>  > mesmo comando find?
>  >
>  > find . -iname teste*, vms*, *.smm, modf* ablo* |xargs rm -f
>  >
>  >
>
>  Da sim, veja:
>
>  [EMAIL PROTECTED]:~$ find . \( -name '*.b' -o -name 'b.*' -o -name
>  'a.*' \)
>  ./a.out
>  ./arquivo.b
>  ./b.arquiv
>
>  Abraços
>
>  - --
>
>
>  /*---------------------------------------------------*/
>  /*    *    Flavio Torres - Administrador de Sistemas*/
>  /*   /_\   */int y,z;main(x){x=(x>0?-9:x);z=((z=(x+5)
>  /*  o. .o  */)>0?z:-z);printf(!x&&++y?"\n":z?z>y%3+y/
>  /*  ((Y))  */3?" ":x<-5?"/":"\\":y?"|":"*");y-9?main(
>  /* ()) (() */++x):puts("  _|_|_")&&puts("  \\___/");}
>  /*  ()^()  A party animal isn't just for Christmas.*/
>  -----BEGIN PGP SIGNATURE-----
>  Version: GnuPG v1.4.2 (MingW32)
>
>  iD8DBQFFcCnbNRQApncg294RApkuAKDE5XEkK5NFvIJXJ+74SlsYrEAIGACeO4TT
>  xGWgsFWkcGau5mVM/eaMXu4=
>  =Kf5T
>  -----END PGP SIGNATURE-----
>
>                    


Flavio,

Legal sua dica; aqui uso FreeBSD e o find não tem a opção "-o"; o que
significa essa opção?

Thanks

-- 
Celso Vianna
BSD User: 51318
http://www.bsdcounter.org

63 8404-8559
Palmas/TO

Responder a