BSD equivalent of GNU/Linux cp -rpu ?

Matthew Seaman m.seaman at
Wed Jan 11 11:38:18 UTC 2012

On 11/01/2012 11:00, Thomas Mueller wrote:
> What is the BSD equivalent of Linux cp -rpu ?

> Idea is to backup a directory, recursively, without copying old 
> files that haven't changed.
> Would I use something like rsync or pax ?

rsync(1) is the standard way of doing this.  For a nice backup system
that works using rsync and that preserves filesystem history in a space
efficient way by cunning use of hard links, take a look at rsnapshot --



Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP:     Ramsgate
JID: matthew at               Kent, CT11 9PW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
Url :

More information about the freebsd-questions mailing list