From owner-freebsd-questions@FreeBSD.ORG Sat Dec 7 14:03:18 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5747A519 for ; Sat, 7 Dec 2013 14:03:18 +0000 (UTC) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 17B661FCF for ; Sat, 7 Dec 2013 14:03:17 +0000 (UTC) Received: from r56.edvax.de (port-92-195-106-241.dynamic.qsc.de [92.195.106.241]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 6154E3D29C; Sat, 7 Dec 2013 15:03:10 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id rB7E2tkx006877; Sat, 7 Dec 2013 15:02:55 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sat, 7 Dec 2013 15:02:55 +0100 From: Polytropon To: "Thomas Mueller" Subject: Re: Equivalence to cp -Ru : update Message-Id: <20131207150255.0faaa4d5.freebsd@edvax.de> In-Reply-To: <67426.70063.bm@smtp116.sbc.mail.gq1.yahoo.com> References: <20131206195618.899fe8b4e89177f1bd331344@gmail.com> <20131206222407.8468245b.freebsd@edvax.de> <67426.70063.bm@smtp116.sbc.mail.gq1.yahoo.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Dec 2013 14:03:18 -0000 On Sat, 7 Dec 2013 12:10:27 +0000 (UTC), Thomas Mueller wrote: > I find cpdup in FreeBSD ports but not NetBSD pkgsrc. > > I just found a reason why rsync might be preferable, just in the > past few hours, [...] It's no problem to prefer rsync over cpdup; rsync is much more portable (present on _many_ systems), so if you're searching for a method to achieve the same result by applying the same command on different systems, go with rsync. If you're just searching for a --update equivalent for Linux's cp, you can use cpdup _on FreeBSD_, as it is a very good program and can be used to construct many kinds of backup solutions. But as I said, rsync also can do this. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...