home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / futils / futils~1 / man / manpages.zoo / mv.1 < prev    next >
Encoding:
Text File  |  1991-11-11  |  3.2 KB  |  133 lines

  1.  
  2.  
  3.  
  4. MV(1L)                                                     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.
  28.  
  29.      If a destination file is unwritable, the standard input is a
  30.      tty, and the -_✓f or +_✓f_✓o_✓r_✓c_✓e option is not given, mv prompts
  31.      the user for whether to overwrite the file.  If the response
  32.      does not begin with `y' or `Y', the file is skipped.
  33.  
  34.      OPTIONS
  35.  
  36.      -_✓b, +_✓b_✓a_✓c_✓k_✓u_✓p
  37.           Make backups of files that are about to be removed.
  38.  
  39.      -_✓f, +_✓f_✓o_✓r_✓c_✓e
  40.           Remove existing destination files and never prompt the
  41.           user.
  42.  
  43.      -_✓i, +_✓i_✓n_✓t_✓e_✓r_✓a_✓c_✓t_✓i_✓v_✓e
  44.           Prompt whether to overwrite each destination file that
  45.           already exists.  If the response does not begin with
  46.           `y' or `Y', the file is skipped.
  47.  
  48.      -_✓u, +_✓u_✓p_✓d_✓a_✓t_✓e
  49.           Do not move a nondirectory that has an existing desti-
  50.           nation with the same or newer modification time.
  51.  
  52.      -_✓v, +_✓v_✓e_✓r_✓b_✓o_✓s_✓e
  53.           Print the name of each file before moving it.
  54.  
  55.      -_✓S, +_✓s_✓u_✓f_✓f_✓i_✓x _✓b_✓a_✓c_✓k_✓u_✓p-_✓s_✓u_✓f_✓f_✓i_✓x
  56.           The suffix used for making simple backup files can be
  57.           set with the SIMPLE_BACKUP_SUFFIX environment variable,
  58.           which can be overridden by this option.  If neither of
  59.           those is given, the default is `~', as it is in Emacs.
  60.  
  61.  
  62.  
  63. Page 1
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. MV(1L)                                                     MV(1L)
  71.  
  72.  
  73.  
  74.      -_✓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}
  75.           The type of backups made can be set with the
  76.           VERSION_CONTROL environment variable, which can be
  77.           overridden by this option.  If VERSION_CONTROL is not
  78.           set and this option is not given, the default backup
  79.           type is `existing'.  The value of the VERSION_CONTROL
  80.           environment variable and the argument to this option
  81.           are like the GNU Emacs `version-control' variable; they
  82.           also recognize synonyms that are more descriptive.  The
  83.           valid values are (unique abbreviations are accepted):
  84.  
  85.           `t' or `numbered'
  86.                Always make numbered backups.
  87.  
  88.           `nil' or `existing'
  89.                Make numbered backups of files that already have
  90.                them, simple backups of the others.
  91.  
  92.           `never' or `simple'
  93.                Always make simple backups.
  94.  
  95.  
  96.  
  97.  
  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. Page 2
  130.  
  131.  
  132.  
  133.