Re: unix file names

From: Jessica L. Dion <jdion_at_zoo.uvm.edu>
Date: Mon, 22 Jul 2002 09:19:35 -0400 (EDT)

On Fri, 19 Jul 2002, Joseph wrote:

> Colleagues
>
> Here is a question for all of the UNIX gurus out there. I have a user who
> named his fid files with a leading dash (i.e. -). Naturally these files
> are not recognized by VNMR and therefore will not load for processing.
> Also, they cannot be renamed or copied by UNIX with mv or cp because the
> dash is interpreted to mean a UNIX option follows. Therefore it reports an
> error.
>
> Is there a way to recover these files?

The "filename" and \filename suggestions usually work to escape out funny
characters, but neither will work in this case. The single dash didn't
work for me either, but a double dash did - something like this:

mv -- -fid fid

Good luck!
                                                - Jessica Dion
                                                  University of Vermont
Received on Tue Jul 23 2002 - 07:39:18 MST

This archive was generated by hypermail 2.4.0 : Mon Jun 05 2023 - 15:52:31 MST