home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / amiga / utility / misc / fileutil.lha / fileutils-3.3 / cat / mv.1 < prev    next >
Encoding:
Text File  |  1992-08-28  |  3.6 KB  |  133 lines

  1.  
  2.  
  3.  
  4. MV(1L)            MISC. REFERENCE MANUAL PAGES             MV(1L)
  5.  
  6.  
  7.  
  8. NAME
  9.      mv - rename files
  10.  
  11. SYNOPSIS
  12.      mv [options] source dest
  13.      mv [options] source... directory
  14.      Options:
  15.      [-bfiuv] [-S backup-suffix] [-V  {numbered,existing,simple}]
  16.      [--backup]  [--force] [--interactive] [--update] [--verbose]
  17.      [--suffix=backup-suffix]                         [--version-
  18.      control={numbered,existing,simple}]
  19.  
  20. DESCRIPTION
  21.      This manual page documents the GNU version of  mv.   If  the
  22.      last  argument  names  an  existing directory, mv moves each
  23.      other given file into a file with  the  same  name  in  that
  24.      directory.  Otherwise, if only two files are given, it moves
  25.      the first onto the second.  It is an error if the last argu-
  26.      ment  is  not a directory and more than two files are given.
  27.      It can move only regular files  across  filesystems.   If  a
  28.      destination file is unwritable, the standard input is a tty,
  29.      and the -_f or --_f_o_r_c_e option is not given,  mv  prompts  the
  30.      user  for  whether  to  overwrite the file.  If the response
  31.      does not begin with `y' or `Y', the file is skipped.
  32.  
  33.   OPTIONS
  34.      -_b, --_b_a_c_k_u_p
  35.           Make backups of files that are about to be removed.
  36.  
  37.      -_f, --_f_o_r_c_e
  38.           Remove existing destination files and never prompt  the
  39.           user.
  40.  
  41.      -_i, --_i_n_t_e_r_a_c_t_i_v_e
  42.           Prompt whether to overwrite each destination file  that
  43.           already  exists.   If  the response does not begin with
  44.           `y' or `Y', the file is skipped.
  45.  
  46.      -_u, --_u_p_d_a_t_e
  47.           Do not move a nondirectory that has an existing  desti-
  48.           nation with the same or newer modification time.
  49.  
  50.      -_v, --_v_e_r_b_o_s_e
  51.           Print the name of each file before moving it.
  52.  
  53.      -_S, --_s_u_f_f_i_x _b_a_c_k_u_p-_s_u_f_f_i_x
  54.           The suffix used for making simple backup files  can  be
  55.           set with the SIMPLE_BACKUP_SUFFIX environment variable,
  56.           which can be overridden by this option.  If neither  of
  57.           those is given, the default is `~', as it is in Emacs.
  58.  
  59.      -_V, --_v_e_r_s_i_o_n-_c_o_n_t_r_o_l {_n_u_m_b_e_r_e_d,_e_x_i_s_t_i_n_g,_s_i_m_p_l_e}
  60.  
  61.  
  62.  
  63. Sun Release 4.1           Last change:                          1
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. MV(1L)            MISC. REFERENCE MANUAL PAGES             MV(1L)
  71.  
  72.  
  73.  
  74.           The  type  of  backups  made  can  be  set   with   the
  75.           VERSION_CONTROL  environment  variable,  which  can  be
  76.           overridden by this option.  If VERSION_CONTROL  is  not
  77.           set  and  this  option is not given, the default backup
  78.           type is `existing'.  The value of  the  VERSION_CONTROL
  79.           environment  variable  and  the argument to this option
  80.           are like the GNU Emacs `version-control' variable; they
  81.           also recognize synonyms that are more descriptive.  The
  82.           valid values are (unique abbreviations are accepted):
  83.  
  84.           `t' or `numbered'
  85.                Always make numbered backups.
  86.  
  87.           `nil' or `existing'
  88.                Make numbered backups of files that  already  have
  89.                them, simple backups of the others.
  90.  
  91.           `never' or `simple'
  92.                Always make simple backups.
  93.  
  94.      The long-named options can be introduced with `+' as well as
  95.      `--',  for compatibility with previous releases.  Eventually
  96.      support for `+' will be removed, because it is  incompatible
  97.      with the POSIX.2 standard.
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129. Sun Release 4.1           Last change:                          2
  130.  
  131.  
  132.  
  133.