Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jan 2001 16:10:14 +0100
From:      Christoph Sold <so@server.i-clue.de>
To:        SpaZ <spaz@bsdguys.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: can't remove weird filename
Message-ID:  <3A782AD6.7F101C8D@i-clue.de>
References:  <000301c08b15$51ade9a0$46010a0a@sysadmininc.com> <20010130174902.A45939@forbidden.dough.net> <006e01c08b13$6fafb700$03001aac@bsdguys.org>

next in thread | previous in thread | raw e-mail | index | archive | help
ls -i                                 # tells the i-node number of the
offender
find . -inum <inode number> -delete   # kills the cat.

Watch out not to traverse file system boundaries.

HTH
-Christoph Sold

SpaZ schrieb:
> 
> rm "bad filename" does not work?  as w/ quotes?
> 
> D
> ----- Original Message -----
> From: Dennis Moore <archon@forbidden.dough.net>
> To: <freebsd-questions@FreeBSD.ORG>
> Sent: Tuesday, January 30, 2001 5:49 PM
> Subject: Re: can't remove weird filename
> 
> > On Tue, Jan 30, 2001 at 06:35:23PM -0500, Peter Brezny wrote:
> > > I accidentally saved a file with vi that had characters created by the
> arrow
> > > keys in it's name.
> > >
> > > the file appears as
> > > ?[B?[B?[B
> >
> > rm -i *
> >
> > hit 'y' when you get to that file, then ^C to quit.


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?3A782AD6.7F101C8D>