Re: unix file names

From: Eugenio Alvarado <ealva_at_calzada.equi.ucr.ac.cr>
Date: Fri, 19 Jul 2002 15:19:34 -0600 (CST)

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?

>From the manual pages:

A `-' permits the user to mark explicitly the end of any
command line options, allowing mv to recognize filename
arguments that begin with a `-'.

mv - oldfilename newfilename

-- 
---------------------------------------------------------------------
Eugenio Alvarado				Tel: 207-4106
Escuela de Quimica
Universidad de Costa Rica
---------------------------------------------------------------------
Received on Sun Jul 21 2002 - 10:05:24 MST

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