BSD equivalent of GNU/Linux cp -rpu ?

Matthew Seaman m.seaman at infracaninophile.co.uk
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 --
http://rsnapshot.org/

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matthew at infracaninophile.co.uk               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 : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120111/575dda2b/signature.pgp


More information about the freebsd-questions mailing list