*BSD News Article 34263


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!swrinde!news.uh.edu!uuneo.neosoft.com!blkbox.COM!blkbox!cbevis
From: cbevis@blkbox.com (Cameron Bevis)
Newsgroups: comp.os.386bsd.questions
Subject: Help! How to remove file with "-"
Date: 13 Aug 1994 17:23:42 GMT
Organization: The Black Box, Houston, Tx (713) 480-2686 
Lines: 9
Message-ID: <32iviu$4ug@blkbox.blkbox.COM>
NNTP-Posting-Host: blkbox.com
X-Newsreader: TIN [version 1.2 PL2]


  Hello all.  While doing a recent tar, I place the --exclude parm in the
wrong place and created a huge file in my root dir called "--exclude". 
(Stupid, I know...) I have tried the -i switch for rm (it won't prompt for
THAT file), quoting the file name, just "mv'ing" it for the time being, and
a variety of other things. Nothing seems to work.  Now my root filesystem
is 100% full, and I am in a pickle.  Any help would be appreciated

Cam Bevis