From owner-freebsd-isp Wed Jan 24 8:16:52 2001 Delivered-To: freebsd-isp@freebsd.org Received: from hex.databits.net (hex.databits.net [207.29.192.16]) by hub.freebsd.org (Postfix) with SMTP id 7B96C37B402 for ; Wed, 24 Jan 2001 08:16:35 -0800 (PST) Received: (qmail 5834 invoked by uid 1001); 24 Jan 2001 16:17:59 -0000 Date: Wed, 24 Jan 2001 11:17:59 -0500 From: Pete Fritchman To: danny@i-p-d.nl Cc: freebsd-isp@FreeBSD.ORG Subject: Re: removing illegal filename Message-ID: <20010124111759.A5790@databits.net> References: <3A6F0CBD.17131.1CA4588@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3A6F0CBD.17131.1CA4588@localhost>; from danny@i-p-d.nl on Wed, Jan 24, 2001 at 05:11:25PM +0100 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org electron [1410] % ls -l | grep del drwxr-xr-x 2 petef wheel 512 Jan 24 11:15 del\ electron [1411] % rmdir del\\ electron [1412] % ls -l | grep del electron [1413] % Another trick is when lusers make filenames starting with a "-" and rm wants to interpret it as a flag, is to "rm -- -filename". -pete. ++ 24/01/01 17:11 +0100 - danny@i-p-d.nl: >A customer of ours managed to create an illegal file/directory >named "del\" . It is unusable, but even more annoying, I can't >remove it. > >How can I manage to remove it? (I can't rm or mv the file) > > >Thanx for your help. > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-isp" in the body of the message -- Pete Fritchman Databits Network Services, Inc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message