Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to read the contents of a .CVD file (Clam AV database file).

How can I do this? I tried deleting the first 512 bytes of the file and then rename it to .tar.gz but it won't open.

share|improve this question
    
What do you want to do with it? Clam AV has libraries that you can use to read at least some of the data from the CVD files. –  haimg Dec 13 '11 at 19:41
    
i want to create an antivirus.so i need the database to open and read the signatures –  Pouyan Izadi Dec 20 '11 at 9:36
add comment

1 Answer

Here is the best way to strip the header:

dd if=clam.cvd of=clam.tar.gz bs=512 skip=1

Then you can use tar to extract:

tar xzvf clam.tar.gz
share|improve this answer
    
sorry but i didn't realize this codes...where can i write this codes?is it Linux codes? –  Pouyan Izadi Dec 20 '11 at 9:38
    
@PouyanIzadi yes, this is linux. Just do this from a bash shell to extract the files. –  Paul Dec 20 '11 at 11:46
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.