From owner-freebsd-questions Fri Aug 23 10:42:59 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9083437B4A9 for ; Fri, 23 Aug 2002 10:42:52 -0700 (PDT) Received: from bouba.alxhost.com (bouba.alxhost.com [66.96.220.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C57E43E4A for ; Fri, 23 Aug 2002 10:42:52 -0700 (PDT) (envelope-from jimmy.lantz@lusidor.com) Received: from [212.162.175.101] (helo=lusidor2002.lusidor.com) by bouba.alxhost.com with asmtp (Exim 3.35 #1) id 17iGhg-0003Y7-00; Fri, 23 Aug 2002 11:50:28 -0400 Message-Id: <5.1.0.14.0.20020823172627.00bbeec8@mail.lusidor.com> X-Sender: lusidor@mail.lusidor.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 23 Aug 2002 17:52:11 +0200 To: "Patrick O'Reilly" From: Jimmy Lantz Subject: Re: Problem accessing file no 2. Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <04fd01c24aa4$628c0270$b50d030a@PATRICK> References: <5.1.0.14.0.20020823132915.027a0008@mail.lusidor.nu> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bouba.alxhost.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [0 0] X-AntiAbuse: Sender Address Domain - lusidor.com 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 foobar# ls -alb -rw-r----- 1 ftp ftp 464 19 Aug 14:27 un\214titled\034 foobar# cp un^=CCtitled^\ ->! After typing un i pressed tab and this=20 filename unveiled wheras trying foobar# cp un\214titled\034 un\214titled.txt cp: un214titled034: No such file or directory well copying with the ? works but not with the desired preciseness since I usually have files with very similiar names. Have you got any clues? / Jimmy At 14:55 2002-08-23 +0200, you wrote: >From: "Jimmy Lantz" > > Hi, > > I 'm wondering a bit on how to access files that starts > > with a character not "supported" directly by freebsd, > > i mean if the file starts with a char that got translated into ? by >freebsd, > > how do I know which char to enter to access it ? > > > > -rw-r----- 1 ftp ftp 464 19 Aug 2003 ?estfile.txt > > > > It's not a a question mark it's just been substituted. > >I would try something like: ># mv ?estfile.txt testfile.txt > >In this case the command you type is with a real '?' character, which, >coincidentally, matches any character (it is a single-character >wildcard, similar to *, but for one character only!). Hopefully you >will end up with a file called 'testfile.txt'. > >BTW: ls -lb might reveal what the funny character actually is. > >Regards, >Patrick O'Reilly. > ___ _ __ > / _ )__ __ (_)_ __ ___ _/ /____ __ > / __/ -_) _) / ~ ) -_), ,-/ -_) _) > /_/ \__/_//_/_/~/_/\__/ \__/\__/_/ > http://www.perimeter.co.za To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message