Date: Wed, 5 Feb 2003 10:58:45 -0800 From: Nathan Kinkade <nkinkade@dsl-only.net> To: freebsd-questions@freebsd.org Subject: Re: handling non-printable characters in file names Message-ID: <20030205185845.GP87743@sub21-156.member.dsl-only.net> In-Reply-To: <3E4157E9.3030203@earthlink.net> References: <3E4157E9.3030203@earthlink.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030205185845.GP87743>