Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!van-bc!twg!bill From: bill@twg.bc.ca (Bill Irwin) Newsgroups: comp.unix.programmer Subject: Can you 'checksum' a file to see if it was changed? Message-ID: <2286@twg.bc.ca> Date: 27 May 91 07:55:47 GMT Reply-To: bill@twg.bc.ca (Bill Irwin) Organization: The Westrheim Group, Vancouver, B.C., Canada Lines: 17 I would like to know if there is a command under SCO XENIX 2.3.3 that will produce a checksum on a file, so that later, another checksum could be compared to the first; and if different, you would know that the file had been modified. Looking at the byte size of the file is a fairly good indicator if it has been modified, but changes can be made to files that leave the byte size the same. Ideally, the command would produce a checksum that could be stored in a file along with the checked file's name. Is there such a beast? -- Bill Irwin - The Westrheim Group - Vancouver, BC, Canada ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uunet!van-bc!twg!bill (604) 431-9600 (voice) | Your Computer bill@twg.bc.ca (604) 430-4329 (fax) | Systems Partner