Re: [Networker] Can not pass variable to mminfo command
2005-02-26 05:39:11
Hi,
Thanks for response.
I am giving an input format: mm/dd/yy
With echo of that variable I get the correct date (For example:
02/26/05). When I do mminfo through command line it shows ok. But while
I place mminfo into script, it doesn't work.
Thanks & best regards
Rathindra Nath Dhali
System Engineer
Operations, IT Division
GrameenPhone Ltd.
Mobile: +88 017 1 500 978
-----Original Message-----
From: Faidherbe, Thierry [mailto:thierry.faidherbe AT hp DOT com]
Sent: Saturday, February 26, 2005 4:27 PM
To: Legato NetWorker discussion; Rathindra Nath Dhali IT
Subject: RE: [Networker] Can not pass variable to mminfo command
What's date format you are giving to mminfo ?
Th
Kind regards - Bien cordialement - Vriendelijke groeten,
Thierry FAIDHERBE
HP Services - Storage Division
Tru64 Unix and Legato Enterprise Backup Solutions Consultant
********* ********* HEWLETT - PACKARD
******* h ******* 1 Rue de l'aeronef/Luchtschipstraat
****** h ****** 1140 Bruxelles/Brussel/Brussels
***** hhhh pppp *****
***** h h p p ***** 100/102 Blv de la Woluwe/Woluwedal
***** h h pppp ***** 1200 Bruxelles/Brussel/Brussels
****** p ****** BELGIUM
******* p *******
********* ********* Phone : +32 (0)2 / 729.85.42
Mobile : +32 (0)498/ 94.60.85
Fax : +32 (0)2 / 729.88.30
I N V E N T Email/MSN : thierry.faidherbe AT hp DOT com
Internet : http://www.hp.com/
________________________________________________________________________
MOBISTAR SA/NV
CSO/CTO/CEO/SSD/SBI
SYSTEM Team Charleroi, Mermoz 2 Phone : +32 (0)2 / 745.75.81
Avenue Jean Mermoz, 32 Fax : +32 (0)2 / 745.89.56
6041 GOSSELIES Email : tfhaidhe AT mail.mobistar DOT be
BELGIUM Web : http://www.mobistar.be/
________________________________________________________________________
-----Original Message-----
From: Legato NetWorker discussion [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU]
On Behalf Of Rathindra Nath Dhali IT
Sent: Saturday, February 26, 2005 11:24 AM
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Subject: [Networker] Can not pass variable to mminfo command
Dear Experts,
I was trying to write some shell scripts to produce custom Media Report
with help of "mminfo". But I am unable to pass variable to mminfo. I am
new in scripting and don't have enough idea to recover from the problem.
Can anyone help me?
The command I am using, looks like this:
mminfo -q 'savetime>=$newDate1' -r 'pool,volume' |grep "GroupName"
*** newDate1 is the variable which contains input value given through
command line argument.
I get error as follows -->
mminfo: invalid value specified for `savetime'
Thanks & best regards
Rathindra Nath Dhali
System Engineer
Operations, IT Division
GrameenPhone Ltd.
Mobile: +88 017 1 500 978
--
Note: To sign off this list, send a "signoff networker" command via
email
to listserv AT listserv.temple DOT edu or visit the list's Web site at
http://listserv.temple.edu/archives/networker.html where you can
also view and post messages to the list. Questions regarding this list
should be sent to stan AT temple DOT edu
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listserv.temple DOT edu or visit the list's Web site at
http://listserv.temple.edu/archives/networker.html where you can
also view and post messages to the list. Questions regarding this list
should be sent to stan AT temple DOT edu
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
|
|
|