Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Mar 2002 01:25:34 -0600
From:      Bob Giesen <BobGiesen@earthlink.net>
To:        stealth215@mediaone.net, Roman Neuhauser <neuhauser@mobil.cz>
Cc:        questions <questions@FreeBSD.ORG>
Subject:   Re: problem with wild card
Message-ID:  <E16jxj0-0004wx-00@harrier.prod.itd.earthlink.net>
In-Reply-To: <3C8A7038.7040106@mediaone.net>
References:  <3C8995BD.6070009@mediaone.net> <20020309174938.GH14049@roman.mobil.cz> <3C8A7038.7040106@mediaone.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 09 March 2002 02:27 pm, David Loszewski wrote:
> Roman Neuhauser wrote:
> >>Date: Fri, 08 Mar 2002 23:55:25 -0500
> >>From: David Loszewski <stealth215@mediaone.net>
> >>To: questions <questions@freebsd.org>
> >>Subject: problem with wild card
> >>
> >>whenever I do a 'cp * /usr' it or any command followed by a wild
> >> card character it comes up saying 'No match.'  Ideas??
> >
> >    are there any files in the directory?
>
>     yes there are
>
> Dave

   I'm guessing that your files (in the directory where you get "No 
match.") all begin with a dot (".").  An asterisk, alone, will not 
match these files; you have to precede it with a dot.  So, if you 
really want to copy everything in your PWD (present working 
directory) to /usr, try this:

cp .* * /usr


-- 
"If a man is called to be a streetsweeper, he should sweep streets 
even as Michelangelo painted, or Beethoven played music, or 
Shakespeare wrote poetry. He should sweep streets so well that all 
the hosts of heaven and earth will pause to say, here lived a great 
streetsweeper who did his job well." -- Martin Luther King, Jr. (1929 
- 1968)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E16jxj0-0004wx-00>