[4175] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: Deleting quest

daemon@ATHENA.MIT.EDU (Jacques Hugo)
Wed Nov 13 01:26:45 1996

From: Jacques Hugo <jacques@linkage.ctech.ac.za>
To: redhat-list@redhat.com
Date: Wed, 13 Nov 1996 10:21:35 +0200 (SAT)
In-Reply-To: <199611122357.SAA02521@shell.monmouth.com> from "Willem Riede" at Nov 12, 96 06:16:50 pm
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Ok, thanks.  I'll try it out.

-Jacques


> > Hi there ..
> > 
> > There's no problem deleting files with a " - " in front, but
> > how do you delete a file with a " ! " (exclamation) in front.
> > 
> > Just wondering.
> > 
> > -Jacques
> 
> You can quote the name '!abc' or - and this works also for characters that
> are not easily typed - use ?abc, but first make sure that that does not
> also match another filename. If all else fails, check the i-number of the
> file 
> 
> 	ls -li
> 
> and delete the file by i-number 
> 
> 	find . -inum xxx -exec rm {} \;
> 
> (please check this in the man page, as I've not needed to do this in quite
> a while :-)
> 
> Success, Willem Riede.


--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post