[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how do i extract a bullet from my foot (tar woes)



On Mon, Aug 20, 2001 at 02:54:52PM -0700, Greg Wiley wrote:
> On Monday, August 20, 2001 2:26 PM, debian@rl76065.cup.hp.com wrote:
> 
> > silly me filled up my current directory with a file called
> "--remove-files".
> > my question is: how the heck to i get rid of this beast????
> >
> > i've tried
> 
> Here is a C program that will do it:
> 
> #include <unistd.h>
> 
> int main() {
>   char *fname = "--remove-files";
>   unlink( fname );
>   return 0;
> }

No need for anything so drastic !
The -- flag turns off flag interpretation with many commands..
see "info rm"
Cliff



Reply to: