Re: how do i extract a bullet from my foot (tar woes)
In linux.debian.user, you wrote:
> 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!
>
> any assist in this would be most appreciated.
>
> --
> regards,
> allen wayne best
Another way to remove it would be to go to the directory and run 'mc'
(midnight commander) Highlight the offending file and do F8.
Anita
Reply to: