[PLUG] Deleting strange file name...
Daniel Johnson
teknotus at gmail.com
Thu Apr 24 19:38:26 UTC 2008
On Thu, Apr 24, 2008 at 11:55 AM, Stafford A. Rau <srau at rauhaus.org> wrote:
> * someone <plug_1 at robinson-west.com> [080423 23:22]:
>
> > I accidentally trying to tar one file created a file --one-file-system.
> >
> > How do I delete without having rm think I'm specifying an option???
>
> The one option for doing this that is most likely to be portable across
> different UNIX-like systems would be prepending with a "./"
>
> In this example, you'd do the following:
>
> rm ./--one-file-system
That would work in this example, but with the filename that starts
with a pipe it wouldn't.
--
teknotus
Take Notice
(503) 409-1735
More information about the PLUG
mailing list