[prev in list] [next in list] [prev in thread] [next in thread]
List: opensuse
Subject: Re: [opensuse] silly girls' cli copy problem [solved]
From: primm <lynn () steve-ss ! com>
Date: 2007-08-31 23:17:20
Message-ID: 200709010117.20530.lynn () steve-ss ! com
[Download RAW message or body]
On Saturday 01 September 2007 01:04, Anders Johansson wrote:
> On Saturday 01 September 2007 00:41:31 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.
>
> The quickie way would be to do
>
> export GLOBIGNORE=members
>
> and then do "cp -a * members" again
>
> Another quickie would be to name it .members while you're copying, since *
> doesn't include files that start with a dot
>
> Beyond that we're into regular expressions, and then it starts getting
> messy :)
>
> Anders
Thanks everyone. It was the dot that did it.
Have one on me. Love from Lynn.
--
To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse+help@opensuse.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic