BSD 2.11 - man page for mren (bsd section 1)
|Linux & Unix Commands - Search Man Pages
mren - rename an existing MSDOS file
mren [ -v ] sourcefile targetfile
Mren renames an existing file on an MSDOS filesystem.
Mren will allow the following command line option:
v Verbose mode. Display the new filename if the name supplied is invalid.
Reasonable care is taken to create a valid MSDOS filename. If an invalid MSDOS target
name is specified, mren will change the name (and prompt the user to accept or reject the
new name if the verbose mode is set).
The path component of the target filename (if supplied) is ignored. In other words, you
may not use mren to move a file from one subdirectory to another.
Mren may be used to rename directories.
MSDOS subdirectory names are supported with either the '/' or '\' separator. The use of
the '\' separator or wildcards will require the names to be enclosed in quotes to protect
them from the shell.
The mcd command may be used to establish the device and the current working directory
(relative to MSDOS), otherwise the default is A:/.
MSDOS can't use REN to rename directories.
All times are GMT -4. The time now is 08:11 PM.