For uncompressed vma files:
For vma.gz fies is like this:
Code:
zcat file.vma.gz | vma config -
Probably something like it for lzo too (probably using lzop). Basically you have to uncompress it on the fly and pass it to vma config.
Using it to reveal all names in the current directory (somemount/dump/):
Code:
#!/bin/bash
list=`ls -1 *.vma.gz`
for f in $list
do
echo "$f `zcat $f | vma config - | grep name| cut -d ':' -f 2`"
done
Last edited: