Mailinglist Archive: opensuse (2114 mails)

< Previous Next >
Re: [opensuse] silly girls' cli copy problem
  • From: Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx>
  • Date: Sat, 1 Sep 2007 18:07:36 +0200 (CEST)
  • Message-id: <Pine.LNX.4.64.0709011807100.11617@xxxxxxxxxxxxxxxxxxxxxxxxx>

On Sep 1 2007 16:51, Matthew Stringer wrote:
> 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.
>
> simplist answer:
>
> cp * members/
>
> lose the -a
>
> it won't try to copy members to itself.

It won't copy all the folders (sic: directories).



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

< Previous Next >
List Navigation
Follow Ups
References