BSD 2 development
[unix-history] / man / ckdir.u
CommitLineData
8b3a6d2f
BJ
1.TH CKDIR UCB 2/24/79 UCB
2.SH NAME
3ckdir \- checksum the files in a directory to guard against/check for corruption
4.SH SYNOPSIS
5.B ckdir
6[
7.B \-c
8] name ...
9.SH DESCRIPTION
10.I Ckdir
11helps guard against files becoming corrupted.
12If invoked with the
13.B \-c
14flag it computes a file
15.I check.sum
16for each specified directory (`.' default)
17which contains for each plain file in the directory
18a (simple-minded) checksum on its contents.
19.I Ckdir
20can then be run (without the
21.B \-c
22option)
23to check that the files haven't changed.
24.SH FILES
25.DT
26check.sum checksum data
27.SH BUGS
28The checksum files might better be called `.checksum' but then
29it wouldn't be as obvious when they are missing.
30.PP
31Needs a
32.B \-r
33flag for running a checksum on the whole filesystem from
34.I cron.
35.PP
36Should have an option to give only files which have been
37``impossibly'' modified; that is files where the times from
38.I stat
39and the change to the
40.I check.sum
41data cannot be reconciled.
42.PP
43Doesn't comprehend special files.