cp --verify?

Peter Schuller peter.schuller at infidyne.com
Sun Oct 28 11:38:30 PDT 2007

> 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.

Note that one will have to run it twice; the first time to copy and
the second time to verify that rsync does not want to update any files
there (if it did it would be an indication of corruption). -c makes it
checksum regardless of whether the file size/ctime matches, but it
will not make it re-do the checksumming after an update.

/ Peter Schuller

PGP userID: 0xE9758B7D or 'Peter Schuller <peter.schuller at infidyne.com>'
Key retrieval: Send an E-Mail to getpgpkey at scode.org
E-Mail: peter.schuller at infidyne.com Web: http://www.scode.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20071028/9f351726/attachment.pgp

More information about the freebsd-questions mailing list