Could be you need the correct file name. Run the file name in your listing
through a translator that shows invisible characters, mostly control
codes. Could be you have one or two accidentally embedded in the name you
can't see them but they are now part of the name.
PaulT
On Tue, Dec 11, 2012 at 1:35 PM, John F. Eldredge <[email protected]>wrote:
> Howard White <[email protected]> wrote:
>
> > Okay guys, here's a hot one.
> >
> > By whatever circumstance, I now have a file named "-b" in a directory.
> >
> > I've tried to backslash to move it:
> > mv \-b whatisthis
> >
> > I've tried double quotes
> > mv "-b" whatisthis
> >
> > I've tried single quotes
> > mv '-b' whatisthis
> >
> > I've tried combinations of \ and quotes.
> >
> > NOW WHAT???
> >
> > Howard
>
> Try mv ./-b xyx
> --
> John F. Eldredge -- [email protected]
> "Reserve your right to think, for even to think wrongly is better than not
> to think at all." -- Hypatia of Alexandria
>
> --
> You received this message because you are subscribed to the Google Groups
> "NLUG" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nlug-talk?hl=en
>
--
You received this message because you are subscribed to the Google Groups
"NLUG" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nlug-talk?hl=en