Re: En busca de un comando recusivo
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Aupa!
On Sun, 12 Dec 2004 01:31:48 -0300
Matias 'nnss' Palomec <matias.nnss@gmail.com> wrote:
> > Y ahora que me acuerdo... :P Tambien me gustaria saber un comando en
> > que diga el nombre de un archivo, y borre todos los archivos con
> > este nombr del / (por ejemplo, borrar todos los archivos
> > Thumbs.db... jejej). No seays malos/as!!!
> find / -name "nombre_del_archivo" | xargs rm -f
> o mejor
> find / -name "nombre_del_archivo" | xargs rm -i
Creo que lo óptimo sería:
find / -name "nombre" -exec rm -i {} \;
O;-)
- --
Agur
txipi
wget -O - http://sindominio.net/~txipi/txipi.gpg.asc | gpg --import
Key fingerprint = CCAF 9676 B049 997A 96D6 4D7C 3529 5545 4375 1BF4
There is nothing wrong with writing ... as long as it is done in private
and you wash your hands afterward.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBvC0lNSlVRUN1G/QRAkpQAJ0TwVaGNlTjrePEPhRF9PBSqsoAMgCfT2CJ
QZrXY+vqcsRai6aHm1Syky8=
=CWpk
-----END PGP SIGNATURE-----
Reply to: