  [[title
                  /6.4/ Deleting a File or Directory
  ]]

 <"*(prev)*" -- $/treedelta/add.html> <"*(next)*" -- $/treedelta/rename.html>


  The procedure for deleting 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 deletions 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.


* Deleting a Directory

  In all cases, a directory can be deleted simply by using `rmdir'.


* Deleting a File or Symbolic Link

  Begin by deleting 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 delete-id' *FILE*
  ]]

  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 delete-id -H
  ]]


 <"*(prev)*" -- $/treedelta/add.html> <"*(next)*" -- $/treedelta/rename.html>

* 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/add.html> <"*(next)*" -- $/treedelta/rename.html>

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