[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Files starting with a dash
Great--so simple, yet so unclear. Reminds me of my first month on a unix
(sunos) system where it seemed as though every typo turned out to be a
command that was waiting for further input.
eks
On Tue, 21 Jan 2003, Damacus wrote:
> mv -- -name.htm name.htm
>
> On Tue, Jan 21, 2003 at 10:24:32AM -0600, Erich Schroeder wrote:
> > A long time ago some one built a portion of a web site and used file names
> > that start with a dash "-". I can't get them renamed now. I've tried
> >
> > mv \-name.htm name.htm
> > mv "-name.htm" name.htm
> > mv '-name.htm" name.htm
> > mv `-name.htm` name.htm
> >
> > and the same thing in cp. Each command thinks that the -n is an option.
> > This must be a FAQ, but I can't find it.
> >
> > eks
> >
> > --
> > ---------------------------------------------------------------------
> > Erich Schroeder Phone: (217)785-0033
> > Curator, Information Technologies FAX: (217)785-2857
> > Illinois State Museum GIS Lab email:erich(at)illinois.state.museum
> > http://illinois.state.museum/
> > ---------------------------------------------------------------------
> >
> >
> > -
> > To unsubscribe, send email to majordomo@luci.org with
> > "unsubscribe luci-discuss" in the body.
>
>
--
---------------------------------------------------------------------
Erich Schroeder Phone: (217)785-0033
Curator, Information Technologies FAX: (217)785-2857
Illinois State Museum GIS Lab email:erich(at)illinois.state.museum
http://illinois.state.museum/
---------------------------------------------------------------------
-
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.