rentree



NAME

      rentree - renames a directory tree


SYNOPSIS

      rentree [-i] [-v] [-d] [-l] path old_name new_name


DESCRIPTION

      The rentree command renames a directory tree. The directories and
      symbolic links in the directory tree containing old_name are renamed
      to new_name. The command may, for example, be used when a system
      configuration have been renamed, and it is necessary to change its
      links in a project. In this case all users may use the command.

    PARAMETERS
      path is the path of the tree to be modified.

    OPTIONS
      -v   "verbose": shows the files and directories that are processed by
           the command.

      -i   asks for each file and directory in the tree if it should be
           processed.

      -d   rename only directories, no symbolic links

      -l   rename only symbolic links, no directories


EXAMPLES

      rentree . 1.0-0p1 1.0-0

      renames all directories and symbolic links containing 1.0-0p1 to 1.0-0
      in the directory tree, starting from the current directory


SEE ALSO

      chmod(1), chown(1), chgrp(1)


AUTHOR

      Elisabet de Waal