Mailinglist Archive: opensuse (2114 mails)

< Previous Next >
Re: [opensuse] silly girls' cli copy problem
  • From: Matthew Stringer <qube@xxxxxxxxxxxxxx>
  • Date: Sat, 01 Sep 2007 16:51:35 +0100
  • Message-id: <46D98A87.3040703@xxxxxxxxxxxxxx>
primm wrote:
I've 800 or so files and folders in a folder called nonmembers. I mkdir another folder in the folder nonmembers called members. I want to copy all the 800 files in nonmembers to members. I'm in the nonmembers folder at the command line. What do I type? Sounds easy doesn't it. I tried cp -a * members but that of course includes members. I suppose I want to say 'copy everything in the nonmembers folder that was there before I made the members folder to the members folder'. If I had a gui I would simply drag and drop.

Thanks. Lynn.

simplist answer:

cp * members/

lose the -a

it won't try to copy members to itself.

M.


--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
List Navigation
Follow Ups