MREN(1) General Commands Manual MREN(1)NAME
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 subdirec-
tory 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:/.
SEE ALSO mcd(1)BUGS
MSDOS can't use REN to rename directories.
Check Out this Related Man Page
MTOOLS(1) General Commands Manual MTOOLS(1)NAME
Mtools - a collection of tools for manipulating MSDOS files
mattrib - change MSDOS file attribute flags
mcd - change MSDOS directory
mcopy - copy MSDOS files to/from Unix
mdel - delete an MSDOS file
mdir - display an MSDOS directory
mformat - add an MSDOS filesystem to a low-level formatted diskette
mlabel - make an MSDOS volume label
mmd - make an MSDOS subdirectory
mrd - remove an MSDOS subdirectory
mread - low level read (copy) an MSDOS file to Unix
mren - rename an existing MSDOS file
mtype - display contents of an MSDOS file
mwrite - low level write (copy) a Unix file to MSDOS
Mtools is a public domain collection of programs to allow Unix systems to read, write, and manipulate files on an MSDOS filesystem (typi-
cally a diskette). Each program attempts to emulate the MSDOS equivalent command as closely as practical.
MSDOS filenames are optionally composed of a drive letter followed by a colon, a subdirectory, and a filename. Subdirectory names can use
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 regular expression "pattern matching" routines follow the Unix-style rules. For example, '*' matches all MSDOS files in lieu of '*.*'.
The archive, hidden, read-only and system attribute bits are ignored during pattern matching.
All options use the '-' (minus) flag, not '/' as you'd expect in MSDOS.
The mcd command is used to establish the device and the current working directory (relative to the MSDOS filesystem), otherwise the default
is assumed to be A:/.
SEE ALSO mattrib(1), mcd(1), mdel(1), mformat(1), mrd(1), mren(1), mtype(1), mcopy(1), mdir(1), mlabel(1), mmd(1), mread(1), mwrite(1)BUGS
An unfortunate side effect of not guessing the proper device (when multiple disk capacities are supported) is an occasional error message
from the device driver. These can be safely ignored.
I am trying to connect to my Solaris 8 system with X-win. However, when i try to connect, a black screen comes up, then closes up immediatley.
I have checked /var/dt/Xerrors, and I am getting the folllowing:
Warning: Missing charsets in String to FontSet conversion
Warning:... (2 Replies)
OS X 10.3.9
I downloaded RealPlayer into my
folder, clicked install and everything works just fine.
My question has to do with just my trying to understand where OS X keeps the files.
So, I opened terminal and said:
find / -name RealPlayer 2>/dev/null
To my utter... (0 Replies)
I had posted few days back and got replies on how to extract patterns from a file.
I had another question. I want to count the number of lines a particular pattern. I thought of somethings like using NF variable, etc, but they didnt work.
Here is sample input.
... (9 Replies)
I have a server AIX 5.3
Few people have the root password and somebody used the root login to erase a file (command rm in the .sh_history of root). :mad:
I would like to know if a file exist with what ip address has been connected.
I want to find the guilty!!! :D
Thanks guys (2 Replies)