This command, similar to the tnmv command, moves Macintosh files and directories and their shadow file information. This command exists for backward compatibility only. It may not appear in future releases of TAS. Use the tnmv command instead of this command for forward compatibility.
TNHOME/usr/bin
macmv [-C] [-f] [-i] [-u] [-V] file1 file2 macmv [-C] [-f] [-i] [-u] [-V] dir1 dir2 macmv [-C] [-f] [-i] [-u] [-V] file1 dir2
|
-C |
Display the program copyright message and execute the command. |
|
-f |
Suppress messages about mode restrictions and error messages. |
|
-i |
Prompt for confirmation before overwriting files or directories. |
|
-u |
Display the program usage message only. |
|
-V |
Display the program version number and execute the command. |
|
file1 |
Specify a source file to move to a destination file. |
|
file2 |
Specify a destination file or new file name to which the source file can move. |
|
dir1 |
Specify a source directory to move to a destination directory. |
|
dir2 |
Specify a destination directory or new directory name to which the source directory can move. |
|
file |
Specify a source file to move to a destination directory. |
Use the following command to rename the file textfile, in the local directory, to datafile:
macmv textfile datafile |
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 |
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 |