From owner-freebsd-questions Wed Feb 5 10:58:55 2003 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 2C62737B401 for ; Wed, 5 Feb 2003 10:58:53 -0800 (PST) Received: from sub21-156.member.dsl-only.net (sub21-156.member.dsl-only.net [63.105.21.156]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D6AE43F79 for ; Wed, 5 Feb 2003 10:58:51 -0800 (PST) (envelope-from nkinkade@sub21-156.member.dsl-only.net) Received: from nkinkade by sub21-156.member.dsl-only.net with local (Exim 4.10) id 18gUkv-000Dif-00 for freebsd-questions@freebsd.org; Wed, 05 Feb 2003 10:58:45 -0800 Date: Wed, 5 Feb 2003 10:58:45 -0800 From: Nathan Kinkade To: freebsd-questions@freebsd.org Subject: Re: handling non-printable characters in file names Message-ID: <20030205185845.GP87743@sub21-156.member.dsl-only.net> Reply-To: nkinkade@dsl-only.net Mail-Followup-To: freebsd-questions@freebsd.org References: <3E4157E9.3030203@earthlink.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Kynn+LdAwU9N+JqL" Content-Disposition: inline In-Reply-To: <3E4157E9.3030203@earthlink.net> User-Agent: Mutt/1.4i 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 --Kynn+LdAwU9N+JqL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 05, 2003 at 01:28:57PM -0500, Walter wrote: > Hi all, >=20 > Leaving out the details, I need to know how to > navigate directories and remove files that use non- > printable characters in their names. du and ls show > me they're there, but I can't figure out how to make > cd work, or rm either. Fwiw, the non-printable char > is \225. Lynx was not able to see the directory > either, but maybe because it began with a ". " - > I don't know. >=20 > Also, is there a way to configure FBSD from accepting > non-printable characters in file names? >=20 > Thanks in advance. >=20 > Walter Generally, there are several things to try with difficult file names: 1) Try quoting the spuriously named files (try double and single) 2) Add a ./ in front of the filename 3) Try letting the shell expand the filename for you by typing the first few characters and then pressing the Tab key. 4) Trying escaping any unruly characters with a ``\" These suggestions don't necessarily apply directly to your situation, bur rather are some things to try when file names are being difficult. Good luck, Nathan --=20 GPG Public Key ID: 0x4250A04C gpg --keyserver pgp.mit.edu --recv-keys 4250A04C http://63.105.21.156/gpg_nkinkade_4250A04C.asc --Kynn+LdAwU9N+JqL Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+QV7lWZYS9EJQoEwRAo8IAJ9s1iifd/YlhiANqvz/QA5baWh4bQCg1JGa gDSVkC2MbYzH5UYgL4UZqkE= =EeGm -----END PGP SIGNATURE----- --Kynn+LdAwU9N+JqL-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message