i'd use nsavetime, instead of sscomp, and add 365*24*60*60.
steve
- - -
> ---- Original Message ----
> From: Ed Skolnik
> 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 "s
> ave set's completion time" plus 1 year.
>
>
>
> Mminfo -q'client=something,level=full' -r'ssid,sscomp' | while read ssid
> sscomp; do
>
>
>
> ~~~~~~~~~ calc new date `~~~~~~~~
>
> nsrmm -S $ssid -e ${newdate}
>
> done
--
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.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
|