Date: Wed, 12 Sep 2012 01:14:43 +0200 From: Polytropon <freebsd@edvax.de> To: Gary Kline <kline@thought.org> Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: cksum entire dir?? Message-ID: <20120912011443.5df17cf2.freebsd@edvax.de> In-Reply-To: <20120911213804.GA9817@ethic.thought.org> References: <20120911213804.GA9817@ethic.thought.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 11 Sep 2012 14:38:04 -0700, Gary Kline wrote: > > I'm trying to checksum directories as I move them around. > ive read the man page for sum and cksum ... or maybe skimmed > them. no joy. anybody know of a utility to do this? I've > got files that are decades old... Maybe it's possible to tar the directory (without compression of course) and obtain a checksum of the tar archive? % tar cf - <director> | cksum But I also tried cksum directly with a directory like % cksum <directory> and could obtain a checksum - so it _seems_ to work. After alteration of one file within the hierarchy a different result was printed. Tested on OS version 8.2-STABLE/i386, one year old. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120912011443.5df17cf2.freebsd>