Re: how do i extract a bullet from my foot (tar woes)
* allen wayne best just ramblin in his amx <debian@rl76065.cup.hp.com> spake thus:
> hello:
>
> i have managed to insert a bullet in my poda courtesy of tar and my
> ineptness! that is, i did:
>
> tar -cvIf --remove-files /tmp/foo.tz /opt/tmp
>
> 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
> rm -f "--remove-files"
> rm -f '--remove-files'
> rm -f "\\-\\-remove\\-files"
> rm -f "\-\-remove\-files"
> rm -f '\\-\\-remove\\-files'
> rm -f '\-\-remove\-files'
>
> all with the same lack of success!
read man rm, and you will end up using "rm -- --remove-files" :)
Stig
--
www.brautaset.org
Reply to: