cp --verify?

James oscartheduck at gmail.com
Sun Oct 28 11:24:58 PDT 2007


On 10/28/07, Steve Franks <stevefranks at ieee.org> wrote:
>
> 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...
>
> Steve
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"

cd /usr/ports/net/rsync
make install clean
rehash
man rsync

rsync -cav sourcefiles destfiles

http://en.wikipedia.org/wiki/Rsync

rsync is one of the great programs to discover.


More information about the freebsd-questions mailing list