Networker

Re: [Networker] Does any one have some UNIX scripts that can calculate dates in the future?

2004-03-31 09:06:13
Subject: Re: [Networker] Does any one have some UNIX scripts that can calculate dates in the future?
From: "Christopher T. Beers" <ctbeers AT SYR DOT EDU>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Wed, 31 Mar 2004 08:50:21 -0500
|> nsrmm -S ssid -e "+ 365 days"

My syntax was wrong.  I use a perl script that modifies the index times on
a 3day backup I have (since the client is also backed up in a regular
rotation indexes keep the longest retention).

My syntax was a little off

nsrmm -S ssid -e "+365 days"

(no space between + and 365)

I know +2 weeks, +3 months, yesterday, last week all work (not tested but
sure -2 weeks, etc will work too).  Pretty neat.

--
Christopher T. Beers
UNIX Systems Engineer - Syracuse University
250 Machinery Hall      Syracuse, NY 13244
(315) 443-4103 Office   (315) 443-1621 Fax
--On Wednesday, March 31, 2004 7:52 AM +0100 Davina Treiber
<Treiber AT hotpop DOT com> wrote:

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=