🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #17358

Re: Programar en el shell bash

#17358
From: Drizzt
Date: Fri, 21 Jan 2000 00:00
21 lines
1832 bytes
El d�a Wed, 12 Jan 2000 23:28:58 GMT dec�a:
>Pues eso, que quiero hacer un script para limpiar el disco de archivos
>basura como  los core y las copia de seguridad y *.o que me quedan cuando
>termino de complilar mis programillas y queria hacer un borrado recursivo
>(rm -r no funciona bajo ciertas condiciones: si no enxuentra algun archivo a
>borrar a la primera, casca) Mi idea es concatenar la salida de find con rm
>pero con las tuberias no me funciona. Ojo, no soy un experto en shell, soy
>un estudiante de informatica y estoy peleando un poco con Linux a ver que
>consigo.
find / -type f -name core -exec rm \{\} \;
find / -type f -name .o -exec rm \{\} \;

Un saludo
Drizzt

-- 
____________________________________________________________________________
Drizzt Do'Urden                Three rings for the Elves Kings under the Sky   
drizzt.dourden@iname.com       Seven for the Dwarf_lords in their  
http://www.arrakis.es/~terron  hall of stone
FIDO 2:345/506.440             Nine for the Mortal Men doomed to die 
Technical Details
Message-ID: <slrn88f9lh.nb.terron@menzoberrazan.dhis.org>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <_68f4.244$KF2.7350@m2newsread.uni2.es>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,c925e1e2ed735b17
X-Google-Attributes: gidf86c8,public
From: terron@menzoberrazan.dhis.org (Drizzt)
Subject: Re: Programar en el shell bash
Date: 2000/01/21
Message-ID: <slrn88f9lh.nb.terron@menzoberrazan.dhis.org>
X-Deja-AN: 576530219
Content-Transfer-Encoding: 8bit
References: <_68f4.244$KF2.7350@m2newsread.uni2.es>
Content-Type: text/plain; charset=iso-8859-1
X-Complaints-To: news@cica.es
X-Trace: mercurio.cica.es 948639988 4104 193.147.161.175 (23 Jan 2000 15:06:28 GMT)
Organization: Menzoberrazan Tales
er: root
User-Agent: slrn/0.9.5.4 (UNIX)
Mime-Version: 1.0
Reply-To: e_mail_en_signature@menzoberrazan
NNTP-Posting-Date: 23 Jan 2000 15:06:28 GMT
Newsgroups: es.comp.os.linux.programacion