2.9BSD/usr/man/cat1/ckdir.1


CKDIR(1)            UNIX Programmer's Manual             CKDIR(1)

NAME
     ckdir - checksum the files in a directory to guard
     against/check for corruption

SYNOPSIS
     ckdir [ -c ] name ...

DESCRIPTION
     _C_k_d_i_r helps guard against files becoming corrupted.  If
     invoked with the -c flag it computes a file _c_h_e_c_k._s_u_m for
     each specified directory (`.' default) which contains for
     each plain file in the directory a (simple-minded) checksum
     on its contents.  _C_k_d_i_r can then be run (without the -c
     option) to check that the files haven't changed.

FILES
     check.sum           checksum data

BUGS
     The checksum files might better be called `.checksum' but
     then it wouldn't be as obvious when they are missing.

     Needs a -r flag for running a checksum on the whole file
     system from _c_r_o_n.

     Should have an option to give only files which have been
     ``impossibly'' modified;  that is files where the times from
     _s_t_a_t and the change to the _c_h_e_c_k._s_u_m data cannot be recon-
     ciled.

     Doesn't comprehend special files.

Printed 5/16/83                                                 1