From owner-freebsd-questions Fri Aug 23 5:54:17 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 BA7E637B400 for ; Fri, 23 Aug 2002 05:54:14 -0700 (PDT) Received: from perimeter.co.za (obelix.perimeter.co.za [209.212.102.154]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61A3243E6A for ; Fri, 23 Aug 2002 05:54:10 -0700 (PDT) (envelope-from bsd@perimeter.co.za) Received: from PATRICK (gateway.mip.co.za [209.212.102.245]) (AUTH: LOGIN bsd@perimeter.co.za) by perimeter.co.za with esmtp; Fri, 23 Aug 2002 14:54:06 +0200 Message-ID: <04fd01c24aa4$628c0270$b50d030a@PATRICK> From: "Patrick O'Reilly" To: "Jimmy Lantz" Cc: "FreeBSD Question List" References: <5.1.0.14.0.20020823132915.027a0008@mail.lusidor.nu> Subject: Re: Problem accessing file (NOT permission problem) Date: Fri, 23 Aug 2002 14:55:37 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 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 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