From owner-freebsd-questions Fri Sep 22 9:41:20 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mailout04.sul.t-online.com (mailout04.sul.t-online.com [194.25.134.18]) by hub.freebsd.org (Postfix) with ESMTP id 9373437B43C for ; Fri, 22 Sep 2000 09:41:17 -0700 (PDT) Received: from fwd03.sul.t-online.com by mailout04.sul.t-online.com with smtp id 13cVsx-00050K-02; Fri, 22 Sep 2000 18:41:15 +0200 Received: from theol.phicom.net (320075607657-0001@[62.158.180.218]) by fwd03.sul.t-online.com with esmtp id 13cVsp-1CDYPoC; Fri, 22 Sep 2000 18:41:07 +0200 Received: (from martian@localhost) by theol.phicom.net (8.9.3/8.9.3) id SAA00262 for questions@freebsd.org; Fri, 22 Sep 2000 18:44:08 +0200 (CEST) (envelope-from martian) Date: Fri, 22 Sep 2000 18:44:08 +0200 From: martian@t-online.de (Martin Moeller) To: questions@freebsd.org Subject: Re: how to copy directory and contents? Message-ID: <20000922184408.A251@theol.phicom.net> References: <20000921155948.A43806@converging.net> <20000921151820.D9141@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.4i In-Reply-To: <20000921151820.D9141@fw.wintelcom.net>; from bright@wintelcom.net on Thu, Sep 21, 2000 at 03:18:20PM -0700 X-Sender: 320075607657-0001@t-dialin.net Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Sep 21, 2000 at 03:18:20PM -0700, Alfred Perlstein wrote: > * Murray [000921 15:01] wrote: > > How do you copy a directory? I have used cp to copy files, but I am > > not sure about copying a directory and all the files within. > > please read the manual page for cp. > > "man cp" > > -- > -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] > "I have the heart of a child; I keep it in a jar on my desk." or try cp -r sourcedir targetdir -- Martin Möller Email: martian [at] t-online.de PhiCom Software * Falkenried 60 * 20251 Hamburg * Deutschland Tel.: +49 (40) 4232 6801 * Fax: +49 (40) 4232 6811 [Germany] Mobile: 0172 274 34 33 * http://home.t-online.de/home/martian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message