Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Oct 1999 14:37:47 -0400
From:      scott <scott@chronis.pobox.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Wierd Directory listing
Message-ID:  <19991007143747.A80742@chronis.pobox.com>
In-Reply-To: <ML-3.4.939320082.54.patl@asimov>
References:  <199910071739.MAA16970@iwww.sitel.net> <ML-3.4.939320082.54.patl@asimov>

next in thread | previous in thread | raw e-mail | index | archive | help
one can also delete stuff like this with dired mode in emacs.

just run 'emacs .' in the offending directory.

scott

On Thu, Oct 07, 1999 at 11:14:42AM -0700, patl@phoenix.volant.org wrote:
> On  7-Oct-99 at 10:42, Jack Winslade (jsw@iwww.sitel.net) wrote:
> > 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*
> 
> Just a note for the paranoid: When I need to do something like
> this, I use the sequence:
> 
> 	ls *7*
> 	<Make sure it only listed the file(s) I want deleted>
> 	rm *7*
> 
> And, while we are on the topic of deleting inconviently named
> files; the easiest way to delete a file that starts with a dash
> is to put './' in front.  E.g.,
> 
> 	rm ./-r	
> 
> 
> -Pat
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message


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?19991007143747.A80742>