shell-script-pt
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [shell-script] apagar arquivos - vários


From: Flavio Torres
Subject: Re: [shell-script] apagar arquivos - vários
Date: Fri, 01 Dec 2006 10:10:51 -0300
User-agent: Thunderbird 1.5.0.8 (Windows/20061025)

-----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:

linuxuser@debian:~$ 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-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]