From owner-freebsd-questions@FreeBSD.ORG Wed Dec 22 02:02:25 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E431B16A4CE for ; Wed, 22 Dec 2004 02:02:25 +0000 (GMT) Received: from smtp104.rog.mail.re2.yahoo.com (smtp104.rog.mail.re2.yahoo.com [206.190.36.82]) by mx1.FreeBSD.org (Postfix) with SMTP id 6C6F143D4C for ; Wed, 22 Dec 2004 02:02:25 +0000 (GMT) (envelope-from Mike.Jeays@rogers.com) Received: from unknown (HELO ?192.168.2.100?) (mjeays2551@24.114.152.139 with plain) by smtp104.rog.mail.re2.yahoo.com with SMTP; 22 Dec 2004 02:02:24 -0000 From: Mike Jeays To: freebsd-questions@freebsd.org Content-Type: text/plain Message-Id: <1103680952.33623.2.camel@chaucer> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Tue, 21 Dec 2004 21:02:32 -0500 Content-Transfer-Encoding: 7bit Subject: Copying a directory hierarchy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Dec 2004 02:02:26 -0000 How does on copy a complete directory hierarchy, including any hidden files? "cp -rp" leaves them out. Some versions of cp seem to have a '-a' flag which will make it copy them, but it isn't available in the FreeBSD version. Is there a trick, or something obvious I have missed?