Equivalence to cp -Ru
Thomas Mueller
mueller6724 at bellsouth.net
Sat Dec 7 06:53:02 UTC 2013
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
More information about the freebsd-questions
mailing list