Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jan 2012 11:38:05 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Re: BSD equivalent of GNU/Linux cp -rpu ?
Message-ID:  <4F0D749D.1060604@infracaninophile.co.uk>
In-Reply-To: <76.DE.27130.5DB6D0F4@smtp02.insight.synacor.com>
References:  <76.DE.27130.5DB6D0F4@smtp02.insight.synacor.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig986609BF51324089A95FB42A
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

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=20
> files that haven't changed.
>=20
> 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

--=20
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matthew@infracaninophile.co.uk               Kent, CT11 9PW


--------------enig986609BF51324089A95FB42A
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk8NdKQACgkQ8Mjk52CukIy1UwCff7svFIvRV7/T0BqoCwpylVjK
c6EAn01V2y6sdZQFCmsLIRUortYENxcQ
=UDcw
-----END PGP SIGNATURE-----

--------------enig986609BF51324089A95FB42A--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F0D749D.1060604>