Unsolved
This post is more than 5 years old
2 Intern
•
132 Posts
0
1157
December 18th, 2010 13:00
run the scanner command and get its results into txt file.
Hi there,
I would like to run the scanner command and get its results into txt file.
Any body know how, please help.
Many thanks



DavidHampson-rY
294 Posts
0
December 18th, 2010 15:00
Just pipe the results into a text file:
scanner [parameters] > [path]results.txt
wlee
263 Posts
0
December 22nd, 2010 20:00
If you are running scanner froma UNIX like o/s, then use the script command to capture the ouput. The advantage of this over a redirect is that it will display the info to the screen as well as saving it to a file.
For example: instead of
scanner -v /dev/rmt/0cbn > scanner.txt 2>&1
use
script scanner.txt
scanner -v /dev/rmt/0cbn
exit
David_Hampson_90e289
2 Intern
•
243 Posts
0
December 23rd, 2010 01:00
I've never met that script command before but it definitely looks useful, thanks for that Wallace.
jarady
2 Intern
•
132 Posts
0
March 12th, 2011 04:00
Guys,
Here is the out put of the command scanner \\.\Tape1 >> 1.txt
I cleaned the drive and ran the command, yet the problem still remains
client name save set save time level size files ssid S
jar-bak02 bootstrap 3/02/11 18:01 f 33632572 7416 1550736765 E
jar-bak02 index:36fab55f-00000004-4996aaae-4996acd7-001b0000-0a301b9b 3/10/11 7:13 f 253769040 320 4067971131 E
jar-bak02 index:862b20ea-00000004-4a7825dd-4a7825dc-01020000-0a301b9b 3/10/11 8:10 f 88213736 82 4017642902 E
jar-bak02 bootstrap 3/10/11 8:12 f 37328956 9502 4000865700 E
jar-lin01 /raid_sismage 3/10/11 1:53 f 366005184760 478101 3212313190 S
jar-mai02 NOTES: 3/10/11 3:18 f 45881424188 119 1467488474 C
jar-mai02 NOTES:_2 3/10/11 3:18 f 45638134360 194 1450711259 S
jar-mai02 NOTES:_5 3/10/11 3:18 f 42524349868 126 1433934043 S
jar-mai02 NOTES:_1 3/10/11 3:18 f 44556325316 112 1417156830 S
jar-mai02 NOTES:_3 3/10/11 3:18 f 46982150076 140 1400379614 S
jar-mai02 NOTES:_4 3/10/11 3:18 f 41953716164 61 1366825392 S
jar-dat05 D:\ 3/10/11 3:00 f 303615010136 111920 2138576024 S
jar-dat03 D:\ 3/10/11 3:00 f 75882215380 95708 2088244387 S
jar-dat06 D:\ 3/10/11 3:01 f 87273679112 31343 2021135557 S
jar-dat04 D:\ 3/10/11 3:03 f 181681754972 5819 1903695215 S
jar-dat02 D:\ 3/10/11 3:04 f 234578461720 131347 1836586388 S
jar-dat01 D:\ 3/10/11 3:13 f 251047507408 307935 1534597040 S
client name save set save time level size files ssid S
jar-bak02 bootstrap 3/02/11 18:01 f 33632572 7416 1550736765 E
jar-bak02 index:36fab55f-00000004-4996aaae-4996acd7-001b0000-0a301b9b 3/10/11 7:13 f 253769040 320 4067971131 E
jar-bak02 index:862b20ea-00000004-4a7825dd-4a7825dc-01020000-0a301b9b 3/10/11 8:10 f 88213736 82 4017642902 E
jar-bak02 bootstrap 3/10/11 8:12 f 37328956 9502 4000865700 E
jar-lin01 /raid_sismage 3/10/11 1:53 f 366141629940 478159 3212313190 S
jar-mai02 NOTES: 3/10/11 3:18 f 45881424188 119 1467488474 C
jar-mai02 NOTES:_2 3/10/11 3:18 f 46105048576 195 1450711259 S
jar-mai02 NOTES:_5 3/10/11 3:18 f 42524349868 126 1433934043 S
jar-mai02 NOTES:_1 3/10/11 3:18 f 44556325316 112 1417156830 S
jar-mai02 NOTES:_3 3/10/11 3:18 f 46982150076 140 1400379614 S
jar-mai02 NOTES:_4 3/10/11 3:18 f 42296197068 62 1366825392 S
jar-dat05 D:\ 3/10/11 3:00 f 303615010136 111920 2138576024 S
jar-dat03 D:\ 3/10/11 3:00 f 75948028416 95756 2088244387 S
jar-dat06 D:\ 3/10/11 3:01 f 87273679112 31343 2021135557 S
jar-dat04 D:\ 3/10/11 3:03 f 181681754972 5819 1903695215 S
jar-dat02 D:\ 3/10/11 3:04 f 234578461720 131347 1836586388 S
jar-dat01 D:\ 3/10/11 3:13 f 251569750236 308082 1534597040 S
ble1
4 Operator
•
14.3K Posts
0
March 13th, 2011 12:00
Try scanner \\.\Tape1 >> 1.txt 2>&1