Article View: es.comp.os.linux.programacion
Article #7085Re: script sh
From: Fernando Arbeiza
Date: Fri, 04 Apr 2003 12:42
Date: Fri, 04 Apr 2003 12:42
15 lines
1516 bytes
1516 bytes
Hola:
On Fri, 4 Apr 2003 14:20:19 +0200, [ZoRo]
<granbilbao_NOSPAM_@latinmail.com> wrote:
> #!/bin/sh
> find /root/backs ! -type d -atime -1 -exec rm '{}' ';'
^
Lee la p�gina del manual de find. Le est�s indicando que te borre los
que tengan menos de un d�a (por cierto, por si acaso, pasa la opci�n -f
a rm).
Un saludo.
--
Fernando Arbeiza <URL: mailto:arbeizaf@ono.com>
Crea tu propio Linux: <URL: http://www.escomposlinux.org/lfs-es>
Technical Details
Message-ID:
<slrnb8qvcp.2la.arbeizaf@jupiter.olimpo.homelinux.org>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!81-203-248-76.user.ono.COM!not-for-mailReferences:
<b6idgo$5o1li$1@ID-59646.news.dfncis.de> <slrnb8qahu.dp.arbeizaf@jupiter.olimpo.homelinux.org> <b6jta2$61e85$1@ID-59646.news.dfncis.de>Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII X-Google-Thread: f86c8,41c263e7698a53de X-Google-Attributes: gidf86c8,public X-Google-ArrivalTime: 2003-04-04 04:46:37 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!81-203-248-76.user.ono.COM!not-for-mail From: Fernando Arbeiza <arbeizaf@ono.com> Newsgroups: es.comp.os.linux.programacion Subject: Re: script sh Date: Fri, 4 Apr 2003 14:42:01 +0200 Lines: 15 Message-ID: <slrnb8qvcp.2la.arbeizaf@jupiter.olimpo.homelinux.org> References: <b6idgo$5o1li$1@ID-59646.news.dfncis.de> <slrnb8qahu.dp.arbeizaf@jupiter.olimpo.homelinux.org> <b6jta2$61e85$1@ID-59646.news.dfncis.de> NNTP-Posting-Host: 81-203-248-76.user.ono.com (81.203.248.76) Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Trace: fu-berlin.de 1049460370 6331863 81.203.248.76 (16 [148301]) X-Orig-Path: jupiter.olimpo.homelinux.org!news User-Agent: slrn/0.9.7.4 (Linux)