🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

script sh

#7074
From: [ZoRo]
Date: Thu, 03 Apr 2003 22:44
10 lines
1280 bytes
hola estoy haciendo un scrip sh p�ra borrar unas cosas del disco una vez
pasado un mes.
para eso creo ciertos archivos con el numero del dia que fueron creados en
el nombre, a�adiendoles data +%j
pero para borrarlos tendr�a que poder restar al date +%j 30 osea como si
fuera date +%j -30
perp esto no me vale.
alguein sabe si en una varialbe tengo metido ese valor (el date %j) como
puedo restarle 30?
muchas gracias
Technical Details
Message-ID: <b6idgo$5o1li$1@ID-59646.news.dfncis.de>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!217-127-108-221.uc.nombres.ttd.ES!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,41c263e7698a53de,start
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2003-04-03 14:44:44 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!217-127-108-221.uc.nombres.ttd.ES!not-for-mail
From: "[ZoRo]" <granbilbao_NOSPAM_@latinmail.com>
Newsgroups: es.comp.os.linux.programacion
Subject: script sh
Date: Fri, 4 Apr 2003 00:44:07 +0200
Lines: 12
Message-ID: <b6idgo$5o1li$1@ID-59646.news.dfncis.de>
NNTP-Posting-Host: 217-127-108-221.uc.nombres.ttd.es (217.127.108.221)
X-Trace: fu-berlin.de 1049409881 6031026 217.127.108.221 (16 [59646])
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106