From owner-freebsd-questions Thu Oct 7 10:41:35 1999 Delivered-To: freebsd-questions@freebsd.org Received: from gateway.sitel.net (gateway.sitel.net [206.24.48.67]) by hub.freebsd.org (Postfix) with SMTP id 0325F151A1 for ; Thu, 7 Oct 1999 10:41:31 -0700 (PDT) (envelope-from jsw@iwww.sitel.net) Received: from [206.24.49.5] by gateway.sitel.net via smtpd (for hub.FreeBSD.ORG [204.216.27.18]) with SMTP; 7 Oct 1999 17:41:32 UT Received: (from jsw@localhost) by iwww.sitel.net (8.9.2/8.9.2) id MAA16970; Thu, 7 Oct 1999 12:39:13 -0500 (CDT) From: Jack Winslade Message-Id: <199910071739.MAA16970@iwww.sitel.net> Subject: Re: Wierd Directory listing In-Reply-To: from Matthew Joseff at "Oct 7, 99 10:28:43 am" To: mjoseff@retribution.net (Matthew Joseff) Date: Thu, 7 Oct 1999 12:39:12 -0500 (CDT) Cc: freebsd-questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > drwxr-xr-x 2 root wheel 512 Jun 10 13:48 xc > -rwsr-sr-t 1 root wheel 0 Dec 31 1969 ??t?'.?x?? > |7m?$??1????p???F?N????i?\D?K?? ???????????n?^}2z??&??B???????G??????n?B]6?????$s? > > WTF is that last entry? I can't remove it for the life of me. Ouch! That's a messy one! Looks like a corrupt file name with embedded linefeeds and such. The trick I use to remove unremovable files is to specify a pattern that matches only the bad one. I would first try: rm *7* ... or something like that. Alternatively, tar up all the good files to /tmp or something, rm -r the directory, and reload the tar. That's what I would do anyway. Good day JSW To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message