Re: BSD equivalent of GNU/Linux cp -rpu ?

2012-01-12 Thread perryh
Matthew Seaman m.sea...@infracaninophile.co.uk wrote: 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/ Also in ports: sysutils/rsnapshot

BSD equivalent of GNU/Linux cp -rpu ?

2012-01-11 Thread Thomas Mueller
What is the BSD equivalent of Linux cp -rpu ? I tried that in FreeBSD, or maybe it was NetBSD, and -u was not recognized. I think the issue would be differences between GNU/Linux coreutils and util-linux and the BSD counterparts. the -u flag, for update, means not to copy files that exist in

Re: BSD equivalent of GNU/Linux cp -rpu ?

2012-01-11 Thread Matthew Seaman
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

Re: BSD equivalent of GNU/Linux cp -rpu ?

2012-01-11 Thread Polytropon
On Wed, 11 Jan 2012 06:00:37 -0500, Thomas Mueller wrote: the -u flag, for update, means not to copy files that exist in both the source and destination unless the source version is newer. Hmmm... sounds as if you mean cpdup (which you'll find in the ports collection). Would I use