From owner-freebsd-questions@FreeBSD.ORG Sat Mar 25 19:39:41 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 EB13E16A401 for ; Sat, 25 Mar 2006 19:39:41 +0000 (UTC) (envelope-from mapsware@prodigy.net.mx) Received: from smtp.prodigy.net.mx (nlpproxy08.prodigy.net.mx [148.235.52.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9410B43D45 for ; Sat, 25 Mar 2006 19:39:41 +0000 (GMT) (envelope-from mapsware@prodigy.net.mx) Received: from smtp.prodigy.net.mx (nlpproxy08 [148.235.52.28]) by smtp.prodigy.net.mx (iPlanet Messaging Server 5.2 HotFix 2.05 (built Mar 3 2005)) with ESMTP id <0IWP002X47Z7MH@smtp.prodigy.net.mx>; Sat, 25 Mar 2006 13:40:19 -0600 (CST) Received: from morena.maps.mx(dsl-201-133-165-201.prod-infinitum.com.mx [201.133.165.201]) by smtp.prodigy.net.mx(iPlanet Messaging Server 5.2 HotFix 2.05 (built Mar 3 2005))with ESMTP id <0IWP00BAW7Z72I@smtp.prodigy.net.mx>; Sat, 25 Mar 2006 13:40:19 -0600 (CST) Date: Sat, 25 Mar 2006 12:39:39 -0700 From: Martin Alejandro Paredes Sanchez In-reply-to: To: freebsd-questions@freebsd.org Message-id: <200603251239.40069.mapsware@prodigy.net.mx> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: quoted-printable Content-disposition: inline User-Agent: KMail/1.8.2 X-imss-version: 2.038 X-imss-result: Passed X-imss-scores: Clean:48.11797 C:2 M:3 S:5 R:5 X-imss-settings: Baseline:3 C:4 M:4 S:4 R:4 (0.5000 0.5000) References: Subject: Re: best way to use cp? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Mar 2006 19:39:42 -0000 El Vie 24 Mar 2006 11:38, Jonathan Horne escribi=F3: > ok, tell them dumb linux user how to properly copy directories recursivly, > so he can stop overwritng directories with source files. >=20 > /humor >=20 > ok seriously, tho, i think im doing it wrong. last night i blasted some > directories, and when i looked at the destination of where i was supposed= to > be copying to, it was full of all kinds of junk that was supposed to be in > the top level of the directories i was copying. >=20 > example, i want to copy /mnt/usb1/path/oldfolder (the folded all its > recursive contents) into /home/mydir cp -R /mnt/usb1/path/oldfolder/* /home/mydir/ or cp -R /mnt/usb1/path/oldfolder /home/mydir/