[Networker] Scripting help
2011-12-06 13:21:39
How can this script:
FOR /F %%A IN ('mminfo -q "client=client_name,savetime>=today" -ot -r barcode')
DO FOR /F "skip=3 tokens=1,2,3 delims=: " %%B IN ('nsrjb') DO IF %%A==%%C
match.bat %%B %%A
be stripped down to just search for volumenames then insert the volumename
into: nsrmm -o readonly "volumename"?
There will only be two tapes for any given day so I am thinking that the nsrmm
command would have to be listed twice.
+----------------------------------------------------------------------
|This was sent by tlamana AT saddlewest DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------
To sign off this list, send email to listserv AT listserv.temple DOT edu and
type "signoff networker" in the body of the email. Please write to
networker-request AT listserv.temple DOT edu if you have any problems with this
list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Networker] Scripting help,
tlamana <=
|
|
|