11-17-2014 10:43 AM
Hi All,
I need to get a list of tapes from the output below ,store it in a file called TLD55.list & compare it with another file which has list of tapes to see if it has scrtach tapes from the TLD32.list ,if it has run bplabel -erase -m ${i} -d hcart1 -o -p scratch -host euroserver01
on it . So file one is output of vmquery ,file 2 is output of VTL tapes. 8 is scracth pool id below.
If you could help me just getting first column of tapes from the output below which has TLD32 in 4th column - It would be good help . Thanks
[root@server-europe01 Erase]# vmquery -bx -p 8 | grep -i 32 | more
Z50004 HCART2 TLD 01 4 - 000_00032_ - 19 09/15/2012 09:36 --- --- scratch
Z50005 HCART2 TLD 01 5 - 000_00032_ - 6 09/11/201209:25 --- --- scratch
Z50014 HCART2 TLD 01 14 - 000_00032_ - 33 09/12/2012 08:46 --- --- scratch
Solved! Go to Solution.
11-17-2014 11:06 AM
11-17-2014 11:06 AM
11-18-2014 06:42 AM
I have nothing to add to Martin's excellent response.
Just wondering - how many robots in this environment??
(big eyes...)