TotalNET Advanced Server 5.2 Reference Manual

Examples

  1. Use the following command to rename the file textfile, in the local directory, to datafile:


    macmv textfile datafile
  2. Use the following command to rename the directory textfiles in your home directory to datafiles and move it to the /home/macapps directory:


    macmv ~/textfiles /home/macapps/datafiles
  3. Use the following command to move the file textfile in the current directory and the contents of the directory datafiles in your home directory to the directory /usr/mac and prompt for confirmation:


    macmv -i textfile ~/datafiles /usr/mac