Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Dec 2013 06:50:31 +0000 (UTC)
From:      "Thomas Mueller" <mueller6724@bellsouth.net>
To:        freebsd-questions@FreeBSD.org
Subject:   Re: Equivalence to cp -Ru
Message-ID:  <823132.45568.bm@smtp116.sbc.mail.ne1.yahoo.com>
References:  <20131206195618.899fe8b4e89177f1bd331344@gmail.com> <20131206222407.8468245b.freebsd@edvax.de>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Fri, 6 Dec 2013 19:56:18 +0100, Daniel Patón wrote:
> In Linux I used the following command in bash on an external USB disk:

> cp -Ru * /media/BACKUP

> Now in FreeBSD with csh the command cp is a little different.

I asked about the same question some months ago, having used cp -Rpu in Linux (p preserves permissions).

Best answer I got then was rsync.

I see Polytropon's suggestion, cpdup, is much smaller.

I find cpdup in FreeBSD ports but not NetBSD pkgsrc.

Tom




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?823132.45568.bm>