🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

RE: Programa para borrado de ficheros

#9783
From: Antonio Sanchez
Date: Fri, 17 May 2002 09:57
28 lines
2107 bytes
   Muchas gracias, funciona de vicio. Un saludo


Fernando Arbeiza <arbeizaf@ono.com> escribi� en el mensaje de noticias
slrnae79cj.ep.arbeizaf@jupiter.olimpo...
> On Thu, 16 May 2002 14:17:05 +0200, news.arrakis.es <asanchez@torero.com>
wrote:
> >    Buenas, llevo poco administrando servidores Linux, y me he encontrado
en
> > una empresa que tienen un R.H. 6.2 como servidor de conexiones SSH, y
> > periodicamente tienen que borrar unos ficheros a mano. Los ficheros a
borrar
> > bienen indicados en otro que es la confirmaci�n de envio. Se me ha
ocurrido
> > copiar el fichero de confirmaci�n y a�adir al principio de cada linea
(cada
> > fichero a borrar es una linea) y rm, pero no se como hacerlo. Alguien me
> > podria echar una mano. Muchas gracias y un saludo
>
> cat fichero | xargs rm
>
> Mira las p�ginas del manual de xargs:
>
> man xargs
>
> --
> Fernando Arbeiza
> Cantabria, Spain
Technical Details
Message-ID: <3ce4d452_1@news.arrakis.es>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!nsnmpen1-lo.nuria.telefonica-data.net!telenews.teleline.es!not-for-mail
References: <3ce3a32c_3@news.arrakis.es> <slrnae79cj.ep.arbeizaf@jupiter.olimpo>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,965ece3ebb5d5734
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2002-05-17 02:58:42 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!nsnmpen1-lo.nuria.telefonica-data.net!telenews.teleline.es!not-for-mail
X-Trace-PostClient-IP: 195.5.65.34
From: "Antonio Sanchez" <asanchez@torero.com>
Newsgroups: es.comp.os.linux.programacion
References: <3ce3a32c_3@news.arrakis.es> <slrnae79cj.ep.arbeizaf@jupiter.olimpo>
Subject: RE: Programa para borrado de ficheros
Lines: 30
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Message-ID: <3ce4d452_1@news.arrakis.es>
Organization: Arrakis Servicios y Comunicaciones SLU
X-Original-NNTP-Posting-Host: 195.5.65.34
Date: Fri, 17 May 2002 09:57:18 GMT
NNTP-Posting-Host: 10.20.31.4
X-Complaints-To: usenet@teleline.es
X-Trace: telenews.teleline.es 1021629438 10.20.31.4 (Fri, 17 May 2002 11:57:18 MET DST)
NNTP-Posting-Date: Fri, 17 May 2002 11:57:18 MET DST