cp --verify?

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Mon Oct 29 11:36:54 PDT 2007


"Steve Franks" <stevefranks at 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.


More information about the freebsd-questions mailing list