Author: Ed Skolnik <eskolnik AT INTERPUBLIC DOT COM>
Date: Tue, 30 Mar 2004 15:41:23 -0600
Does any one have some UNIX scripts that can calculate dates in the future? For example In want to change the retention of some savesets to be the "save set's completion time" plus 1 year. Mminfo -q'
Author: Tim Mooney <mooney AT DOGBERT.CC.NDSU.NODAK DOT EDU>
Date: Tue, 30 Mar 2004 15:51:20 -0600
In regard to: [Networker] Does any one have some UNIX scripts that can...: Get GNU `date' and use that in a shell script. Or use perl's multitude of time and date modules to do the same thing. The "p
there is a unix script called "adate", just search for it on google. -- Note: To sign off this list, send a "signoff networker" command via email to listserv AT listmail.temple DOT edu or visit the l
Author: Steve Rader <rader AT GINSENG.HEP.WISC DOT EDU>
Date: Tue, 30 Mar 2004 15:58:56 -0600
i'd use nsavetime, instead of sscomp, and add 365*24*60*60. steve - - - -- Note: To sign off this list, send a "signoff networker" command via email to listserv AT listmail.temple DOT edu or visit th
Author: "Christopher T. Beers" <ctbeers AT SYR DOT EDU>
Date: Tue, 30 Mar 2004 18:23:33 -0500
Ed: see the nsr_getdate man page. Networker can do this for you nsrmm -S ssid -e "+ 365 days" -- Christopher T. Beers UNIX Systems Engineer - Syracuse University 250 Machinery Hall Syracuse, NY 13244
Author: Davina Treiber <Treiber AT HOTPOP DOT COM>
Date: Wed, 31 Mar 2004 07:52:05 +0100
see the nsr_getdate man page. Networker can do this for you nsrmm -S ssid -e "+ 365 days" I was about to reply with something similar, but my solution was going to be a bit more complex than that. I
Author: Anthony Lorimer <tlorimer AT MBOX.COM DOT AU>
Date: Wed, 31 Mar 2004 21:04:34 +1000
Hi, gnudate allows you to do this. (www.gnu.org) examples gnudate --date="01/01/2004 + 1 year" Sat Jan 1 00:00:00 EST 2005 gnudate --date="3 months + 1 day" Fri Jul 2 21:03:55 EST 2004 and so on and
Author: "Christopher T. Beers" <ctbeers AT SYR DOT EDU>
Date: Wed, 31 Mar 2004 08:50:21 -0500
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 synta
Author: "David E. Nelson" <david.nelson AT NI DOT COM>
Date: Wed, 31 Mar 2004 08:44:21 -0600
You can also use 'ago' as in "mminfo -q 'client=foo,sscreate>=2 weeks ago'". As far as scripts are concerned, I can't suggest any. However, if you know perl, definately check into the 'Date::Calc' mo