<h3>Move semantics</h3>

<table border=1 cellspacing=0>


<tr><td>file</td><td>existing


</table>

  #  mv dir1 dir2 # dir2 NOT exists<verbatim>
      => dir2</verbatim>
  #  mv dir1 dir2 # dir2 exists<verbatim>
      =>
  #  mv f1 f2     # f2 not exists, otherwise error<verbatim>
      => f2</verbatim>
  #  mv f1 dir1   # dir1 exists<verbatim>
      =>
  #  mv f1 dir1/f2 # dir1 may or may not exist, error if f2 exists<verbatim>
      =>
  #  mv f1 dir1 ../f2 dir2/f3 dir3 # dir3 exists (error otherwise)<verbatim>
      => dir3/dir1
         dir3/f2