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'client=something,level=full' -r'ssid,sscomp' | while read ssid
sscomp; do
~~~~~~~~~ calc new date `~~~~~~~~
nsrmm -S $ssid -e ${newdate}
done
Ed
Any views or opinions presented in this email are solely those of the author
and do not necessarily represent those of the company.
Also this message may contain information which may be confidential and
privileged. Unless you are the intended recipient (or
authorized to receive this message for the intended recipient), you may not
use, copy, disseminate or disclose to anyone the message
or any information contained in the message. If you have received the message
in error, please advise the sender by reply e-mail,
and delete the message. Thank you very much.
--
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.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
|