home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / gnu / fileutils-3.9-bin.lha / man / cat1 / mv.0 < prev    next >
Text File  |  1993-12-07  |  4KB  |  133 lines

  1.  
  2.  
  3.  
  4. MV(1L)                                                     MV(1L)
  5.  
  6.  
  7. NNAAMMEE
  8.        mv - rename files
  9.  
  10. SSYYNNOOPPSSIISS
  11.        mmvv [options] source dest
  12.        mmvv [options] source... directory
  13.        Options:
  14.        [-bfiuv]       [-S      backup-suffix]      [-V      {num-
  15.        bered,existing,simple}] [--backup]  [--force]  [--interac-
  16.        tive]   [--update]   [--verbose]  [--suffix=backup-suffix]
  17.        [--version-control={numbered,existing,simple}]    [--help]
  18.        [--version]
  19.  
  20. DDEESSCCRRIIPPTTIIOONN
  21.        This  manual page documents the GNU version of mmvv.  If the
  22.        last argument names an existing directory, mmvv  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
  25.        moves  the  first  onto the second.  It is an error if the
  26.        last argument is not a directory and more than  two  files
  27.        are given.  It can move only regular files across filesys-
  28.        tems.
  29.  
  30.        If a destination file is unwritable, the standard input is
  31.        a  tty,  and  the  _-_f  or  _-_-_f_o_r_c_e option is not given, mmvv
  32.        prompts the user for whether to overwrite  the  file.   If
  33.        the  response  does not begin with `y' or `Y', the file is
  34.        skipped.
  35.  
  36.    OOPPTTIIOONNSS
  37.        _-_b_, _-_-_b_a_c_k_u_p
  38.               Make backups of files that are about to be removed.
  39.  
  40.        _-_f_, _-_-_f_o_r_c_e
  41.               Remove  existing destination files and never prompt
  42.               the user.
  43.  
  44.        _-_i_, _-_-_i_n_t_e_r_a_c_t_i_v_e
  45.               Prompt whether to overwrite each  destination  file
  46.               that  already  exists.   If  the  response does not
  47.               begin with `y' or `Y', the file is skipped.
  48.  
  49.        _-_u_, _-_-_u_p_d_a_t_e
  50.               Do not move a nondirectory  that  has  an  existing
  51.               destination  with  the  same  or newer modification
  52.               time.
  53.  
  54.        _-_v_, _-_-_v_e_r_b_o_s_e
  55.               Print the name of each file before moving it.
  56.  
  57.        _-_-_h_e_l_p Print a usage message and exit with a non-zero sta-
  58.               tus.
  59.  
  60.  
  61.  
  62.  
  63.  
  64. FSF                     GNU File Utilities                      1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. MV(1L)                                                     MV(1L)
  71.  
  72.  
  73.        _-_-_v_e_r_s_i_o_n
  74.               Print  version  information  on standard error then
  75.               exit.
  76.  
  77.        _-_S_, _-_-_s_u_f_f_i_x _b_a_c_k_u_p_-_s_u_f_f_i_x
  78.               The suffix used for making simple backup files  can
  79.               be  set  with  the SSIIMMPPLLEE__BBAACCKKUUPP__SSUUFFFFIIXX environment
  80.               variable, which can be overridden by  this  option.
  81.               If  neither  of those is given, the default is `~',
  82.               as it is in Emacs.
  83.  
  84.        _-_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_}
  85.               The type of backups made can be set with  the  VVEERR--
  86.               SSIIOONN__CCOONNTTRROOLL  environment  variable,  which  can be
  87.               overridden by this option.  If  VVEERRSSIIOONN__CCOONNTTRROOLL  is
  88.               not  set  and this option is not given, the default
  89.               backup type is `existing'.  The value of  the  VVEERR--
  90.               SSIIOONN__CCOONNTTRROOLL  environment variable and the argument
  91.               to this option are like  the  GNU  Emacs  `version-
  92.               control'  variable;  they  also  recognize synonyms
  93.               that are more descriptive.  The  valid  values  are
  94.               (unique abbreviations are accepted):
  95.  
  96.               `t' or `numbered'
  97.                      Always make numbered backups.
  98.  
  99.               `nil' or `existing'
  100.                      Make  numbered backups of files that already
  101.                      have them, simple backups of the others.
  102.  
  103.               `never' or `simple'
  104.                      Always make simple backups.
  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.  
  130. FSF                     GNU File Utilities                      2
  131.  
  132.  
  133.