  [[title
                  /6.5/ Renaming a File or Directory
  ]]

 <"*(prev)*" -- $/treedelta/delete.html> */(the end)/*


  The procedure for renaming a file or directory varies depending
  on the <"`id-tagging-method'" -- ./naming-conventions.html> 
  of the tree and the nature of the file.

  All file and directory renames should usually be followed by a run
  of <"`tree-lint'" -- ./naming-conventions.html> to ensure that
  naming conventions and id tagging requirements have been properly
  followed.


* Renaming a Directory

  In all cases, a directory can be renamed simply by using `mv'.


* Renaming a File or Symbolic Link

  Begin by renaming the file or link in the ordinary way.

  If the tree has an `id-tagging-method' which is *not* `names',
  then it */may/* be necessary to run the command:

  [[blockquote
    `% tla move-id' *OLDNAME* *NEWNAME*
  ]]

  It is *safe* to run that command even when it is not necessary
  (although the command will exit with a non-0 status when invoked
  unecessarily).


* Commands Discussed

  [[tty
    % tla move-id -H
  ]]


 <"*(prev)*" -- $/treedelta/delete.html> */(the end)/*

* Copyright

  Copyright /(C)/ 2005 Tom Lord (`lord@emf.net')

  This program is free software; you can redistribute it and/or modify
  it under the terms of the /GNU General Public License/ as published by
  the Free Software Foundation; either version 2, or (at your option)
  any later version.

  This program is distributed in the hope that it will be useful,
  but \\/WITHOUT ANY WARRANTY/\\; without even the implied warranty of
  \\/MERCHANTABILITY/\\ or \\/FITNESS FOR A PARTICULAR PURPOSE/\\.  See the
  /GNU General Public License/ for more details.

  You should have received a copy of the /GNU General Public License/
  along with this software; see the file <"`COPYING'" --
  $/COPYING.html>.  If not, write to the Free Software Foundation, 675
  Mass Ave, Cambridge, MA 02139, USA.

 <"*(prev)*" -- $/treedelta/delete.html> */(the end)/*

 [[null
   ; arch-tag: Tom Lord Thu Mar 31 12:07:44 2005 (treedelta/rename.txt)
 ]]
