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' module - absolutely fantastic
module.
Regards,
/\/elson
On Wed, 31 Mar 2004, Christopher T. Beers wrote:
> |> 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.
--
~~ ** ~~ If you didn't learn anything when you broke it the 1st ~~ ** ~~
time, then break it again.
--
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.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
|