From owner-freebsd-questions Sat Mar 9 23:26:47 2002 Delivered-To: freebsd-questions@freebsd.org Received: from harrier.prod.itd.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by hub.freebsd.org (Postfix) with ESMTP id 8514937B402 for ; Sat, 9 Mar 2002 23:26:38 -0800 (PST) Received: from dialup-65.56.139.68.dial1.chicago1.level3.net ([65.56.139.68] helo=there) by harrier.prod.itd.earthlink.net with smtp (Exim 3.33 #1) id 16jxj0-0004wx-00; Sat, 09 Mar 2002 23:26:35 -0800 Content-Type: text/plain; charset="iso-8859-1" From: Bob Giesen To: stealth215@mediaone.net, Roman Neuhauser Subject: Re: problem with wild card Date: Sun, 10 Mar 2002 01:25:34 -0600 X-Mailer: KMail [version 1.3] Cc: questions References: <3C8995BD.6070009@mediaone.net> <20020309174938.GH14049@roman.mobil.cz> <3C8A7038.7040106@mediaone.net> In-Reply-To: <3C8A7038.7040106@mediaone.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 > >>To: questions > >>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