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