From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [204.233.198.50] (helo=linserver.complex) by speech.braille.uwo.ca with esmtp (Exim 3.34 #1 (Debian)) id 16k7pP-0002Yj-00 for ; Sun, 10 Mar 2002 13:13:51 -0500 Received: (from gnowak1@localhost) by linserver.complex (8.11.4/8.10.2) id g2AIDRi00797 for speakup@braille.uwo.ca; Sun, 10 Mar 2002 12:13:27 -0600 Date: Sun, 10 Mar 2002 12:13:27 -0600 From: Gregory Nowak To: speakup@braille.uwo.ca Subject: Re: cp Message-ID: <20020310121327.A792@uic.edu> References: <001701c1c78a$cfc39440$01213e18@OEMCOMPUTER> <20020309133914.A1139@uic.edu> <006e01c1c80a$055a0ba0$9d2efea9@computer> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <006e01c1c80a$055a0ba0$9d2efea9@computer>; from persuric@ameritech.net on Sun, Mar 10, 2002 at 03:03:10AM -0500 Sender: speakup-admin@braille.uwo.ca Errors-To: speakup-admin@braille.uwo.ca X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.0.8 Precedence: bulk Reply-To: speakup@braille.uwo.ca List-Help: List-Post: List-Subscribe: , List-Id: Speakup is a screen review system for Linux. List-Unsubscribe: , List-Archive: Why don't you just use dd? Type "man dd" to learn more. Greg On Sun, Mar 10, 2002 at 03:03:10AM -0500, Pete wrote: > > I have a new drive, I want to cp my windows instalation to it so I don't > have to get some one to read the setup screens to me to re setup windows. > Will cp or mv move the whole contense of my fat32 windows C:\> to another > drive including hidden/system/readonly/longfilenames/anything I forgot? > Pete > > P.S. > I would rather use the cp command rather than the mv command. > > ----- Original Message ----- > From: "Gregory Nowak" > To: > Sent: Saturday, March 09, 2002 2:39 PM > Subject: Re: trplayer and realplayer > > > I do: "cp -a " /cdrom/mydir/ /tmp/otherdir/ and it recurses and works just > fine. > Greg > > > On Sat, Mar 09, 2002 at 01:05:44PM -0500, Charles Hallenbeck wrote: > > Igor - > > > > That would have worked fine if your source was not on a CD. The > > thing is, the MV command wants to erase the source after putting > > it somewhere else, and your CD is not erasable. You might want to > > use "cp" instead with a flag to make it recursive. Probably the > > flag would be -r but I would check first. > > > > Chuck > > > > On Sat, 9 Mar 2002, Igor Gueths wrote: > > > > > Hi Chuck. How do you mv it so that the directory doesn't get omitted? As > an example, I was trying to move an entire directory tree from Cd to hard > disk (/usr/src). My syntax was something like this: mv > /mnt/debian/dists/potato/main/disks-i386/source /usr/src. This should work > under Dos, but doesn't seem to work under Linux. Just to make sure, I added > a *.* before the /usr/src. In both cases, I get a message like: mv: > directory has been omitted. And it doesn't move anything. In this example, > I'm not saying that I am trying to do this, although I did try it before. > Basically, what would be the syntax to move a directory tree? Let's say I > created a tempdir for a tar archive and untarred it. And it created a dir in > /temp, therefore the tree would be /temp/package. Let's say I want to move > /package to /usr/local. Also, package has subdirs that I want to have moved > as well. What would be the syntax to move package to /usr/local and all > subdirs? > > > ----- Original Message ----- > > > From: Charles Hallenbeck > > > To: > > > Sent: Saturday, March 09, 2002 9:47 AM > > > Subject: Re: trplayer and realplayer > > > > > > > > > > Hi Igor - > > > > > > > > I have had that problem too. On my Slackware system the "less" > > > > command is installed in such a way that it automatically shows > > > > the files contained in a tar archive. The first file listed will > > > > be a directory if the archive will be one that creates its own > > > > directory. > > > > > > > > If your "less" will not do that, you can always create a > > > > temporary directory and untar the thing in there. If it does > > > > create its own directory under your temporary one, you can just > > > > "mv" the thing to where you want it. > > > > > > > > HTH - Chuck > > > > > > > > > > > > > > > > Visit me at http://www.valstar.net/~hallenbeck > > > > The Moon is Waning Crescent (17% of Full) > > > > > > > > > > > > _______________________________________________ > > > > Speakup mailing list > > > > Speakup@braille.uwo.ca > > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > > > > > > > > _________________________________________________________ > > > Do You Yahoo!? > > > Get your free @yahoo.com address at http://mail.yahoo.com > > > > > > > > > _______________________________________________ > > > Speakup mailing list > > > Speakup@braille.uwo.ca > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > > > > > > Visit me at http://www.valstar.net/~hallenbeck > > The Moon is Waning Crescent (16% of Full) > > > > > > _______________________________________________ > > Speakup mailing list > > Speakup@braille.uwo.ca > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup