Mailinglist Archive: opensuse (2114 mails)

< Previous Next >
Re: [opensuse] silly girls' cli copy problem
  • From: Anders Johansson <ajohansson@xxxxxxxxxxx>
  • Date: Sun, 2 Sep 2007 15:03:23 +0200
  • Message-id: <200709021503.23785.ajohansson@xxxxxxxxxxx>
On Sunday 02 September 2007 09:49:16 primm wrote:
> I'm desperately trying to learn to be a good admin. I'm far from it. In
> Spain companies are prepared to pay you loadsa money if you can stop them
> getting viruses and you can speak English and Spanish. So I tried just
> about all methods everyone suggested. The only ones which worked first time
> viz me copying and pasting from this thread to my cli were the renaming as
> dot (yours I think) and the rsync alternative. I also used mc as my server
> does not have a gui.

Well

shopt -s extglob
cp -a !(members) members

should have worked, and so should

export GLOBIGNORE=members
cp -a * members

I did test them before sending off the suggestions (although I did have a typo 
in there, so yes, a copy/paste wouldn't have worked)

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

< Previous Next >
List Navigation
Follow Ups
References