1830845 Members
2587 Online
110017 Solutions
New Discussion

Re: CRC Value ?

 
SOLVED
Go to solution
Hans Kamann
Advisor

CRC Value ?

how can you obtain CRC information of files under HPUX 10.20 I need to check CRC on several files in a directory
8 REPLIES 8
Vibhor Kumar Agarwal
Esteemed Contributor

Re: CRC Value ?

I think CRC is generated when you tar or zip some files.

There is command checksum (not sure of the name). You can use it find your CRC.
Vibhor Kumar Agarwal
Vibhor Kumar Agarwal
Esteemed Contributor

Re: CRC Value ?

Gotcha,

To get the CRC use "sum"
The other one is cksum
Vibhor Kumar Agarwal
Pete Randall
Outstanding Contributor

Re: CRC Value ?

I don't know if it has anything to do with CRC or not, but the command Vibhor is referring to is cksum.


Pete

Pete
Kent Ostby
Honored Contributor

Re: CRC Value ?

Hans -- The Certified document MD5KBRC00009634 explains how to do this.

http://www2.itrc.hp.com/service/cki/search.do?category=c0&mode=id&searchString=MD5KBRC00009634+&searchCrit=allwords&docType=EngineerNotes&search.x=29&search.y=7
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
Hans Kamann
Advisor

Re: CRC Value ?

Thanks so far, the last post did not help since the recommended document could not be found
Hans Kamann
Advisor

Re: CRC Value ?

id would be ingenious if we could check all files incl. subdirs
Pete Randall
Outstanding Contributor
Solution

Re: CRC Value ?

Hans,

To recursively check, including subdirectories, use the find command:

find /starting_dir -type f -exec cksum {} \;


Pete

Pete
Hans Kamann
Advisor

Re: CRC Value ?

That´s excellent. Thanks a lot. Got all I need here