Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Oct 2007 09:48:46 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        stevefranks@ieee.org
Cc:        User Questions <freebsd-questions@freebsd.org>
Subject:   Re: cp --verify?
Message-ID:  <443avu58w1.fsf@be-well.ilk.org>
In-Reply-To: <539c60b90710281017r4db40821s358b67049ee7b063@mail.gmail.com> (Steve Franks's message of "Sun\, 28 Oct 2007 10\:17\:11 -0700")
References:  <539c60b90710281017r4db40821s358b67049ee7b063@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Steve Franks" <stevefranks@ieee.org> writes:

> I don't see a --verify switch on cp, so I presume it does not.  Is
> there an automated way to ensure a copy has gone well byte-for-byte
> without writing a script to filter diff?  I want to be relatively sure
> my family pics are in the destination and not currupted before I wipe
> my flash card - got burned by ms windows on that bigtime last year...

I like to use mtree(1) for this.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?443avu58w1.fsf>