<tt>mv</tt>: Move



next up previous contents
Next: File system Commands: Up: File system Commands: Previous: cp: Copy

mv: Move

In UNIX, mv means move, or rename.

mv [-i] directory1 directory2
where directory1 and directory2 are directories.

This command will simply rename directory1 to directory2. If directory2 exists, the files of directory1 will be moved into directory2.

-i
will prompt the user for confirmation if a file is to be overwritten.



Super-User
Fri Feb 17 15:55:40 EST 1995