

            cn (1) --- change file names                             03/20/80


            _U_s_a_g_e

                 cn <pathname> <new name> { <pathname> <new name> }


            _D_e_s_c_r_i_p_t_i_o_n

                 'Cn'  changes  the  names  of  the files named as arguments.
                 Arguments must be paired; the first argument in  a  pair  is
                 the  pathname  of  the file whose name is to be changed, the
                 second argument in the pair is the new name to be  given  to
                 the  file.   The  new name must be a simple file name, not a
                 pathname.  Thus, 'cn' may not be used to move files from one
                 directory to another.  Use 'cp' for this purpose.


            _E_x_a_m_p_l_e_s

                 cn //cmdnc0/new_go go
                 cn old new   first last   always never


            _M_e_s_s_a_g_e_s

                 "<pathname>:  missing name" if <new name> is missing
                 "<pathname>:  bad pathname" if <pathname> could not be  fol-
                      lowed
                 "Usage:  cn old new {old new}" for no arguments
                 "<new name>:  already exists" for duplicate file name
                 "<pathname>:  not found" for non-existent file name.
                 "<new  name>:   cannot  move  file  to new directory" for an
                      unescaped slash in the new name.


            _S_e_e _A_l_s_o

                 cp (1), Primos cname$





















            cn (1)                        - 1 -                        cn (1)


