home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / INFO / MISC / PCUNIX.ZIP / MV.DOC < prev    next >
Encoding:
Text File  |  1987-01-31  |  1.3 KB  |  46 lines

  1.  
  2.         Omen Technology Inc
  3.  
  4. NAME
  5.     mv - move or rename files
  6.  
  7. SYNOPSIS:
  8.  
  9.     mv file1 file2
  10.  
  11.     mv file ... directory
  12.  
  13.     Mv changes the name of file1 to file2.  Mv attempts to use the
  14.     DOS rename function to change the file name.  If DOS indicates
  15.     the source and destination are on different devices, the file
  16.     is copied and then deleted.  If DOS indicates file2 exists, mv
  17.     attempts to determine whether file1 and file2 are the same file.
  18.     If they appear different, mv deletes file2 and then performs
  19.     the mv function.
  20.  
  21.     The second command form moves one or more files (wildcards OK)
  22.     to the destination disk and/or directory.
  23.  
  24.     Mv accepts a leading -v flag to print debugging information.
  25.  
  26. BUGS:
  27.     DOS 2.x Only.
  28.  
  29.     Wildcards allowed on the file name part only.
  30.  
  31.     Time, date, and file attributes are not preserved in copy operations.
  32.  
  33.     Mv checks the identity of file1 and file2 by comparing file length,
  34.     date, time, and attribute.  A better method would be to compare
  35.     the device and starting FAT number, but, alas, Microsoft didn't
  36.     understand the Unix(TM) stat call when they made their "Unix style"
  37.     DOS 2.x calls.
  38.  
  39.     Mv will not directly rename a directory; Microsoft forgot to
  40.     onclude that system primitive as well.
  41.  
  42. AUTHOR:
  43.     Chuck Forsberg, Omen Technology Inc
  44.  
  45.     This program may be freely distributed but not sold.
  46.