09-21-2015 01:23 PM
Hi guys!
I wish to know if I can edit the standard output or the user mode output option in a command used in command line. For instance, I use "bpimagelist -bakcupid backupid" in command line on the server to identify in what tape is located certain image, but I did it on a batch with around 200 images at time, and report the logs in specified archive by me. So, if I could edit the output to show only some information about every image on the batch this would make my work of analyze so much easier. I already tried to use the -l, -L or even -U options, but any of them make the output or too confuse (for -l), too long (for -L) or, in the worst case, too short (for -U).
Anybody can help me?
Solved! Go to Solution.
09-22-2015 03:36 AM
Hello
Use bpimagelist -l and then filter the fields to your requirement.
https://support.symantec.com/en_US/article.TECH5584.html
To filter the fields on windows you can use the FOR and findstr commands to manipulate the output.
Example of using FOR/findstr with bpimagelist.
https://www-secure.symantec.com/connect/forums/tape-policy-report
09-21-2015 06:18 PM
09-22-2015 03:36 AM
Hello
Use bpimagelist -l and then filter the fields to your requirement.
https://support.symantec.com/en_US/article.TECH5584.html
To filter the fields on windows you can use the FOR and findstr commands to manipulate the output.
Example of using FOR/findstr with bpimagelist.
https://www-secure.symantec.com/connect/forums/tape-policy-report
09-22-2015 07:29 AM
Read the docs or the man pages, I had some crazy commands to extract the SLP names in one of my scripts, then was reviewing the man pages, and found nbstl -b - outputs the SLP name directly.
From "nbstl -L | grep -i name | grep Vault01 | cut -c38-" to "nbstl -b", LOL
Symantec likes to keep us on our toes, these change with NB versions, too.
Every time I upgrade, I have to redo my aliases, for added or removed features.