Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mren(1) [bsd man page]

MREN(1) 						      General Commands Manual							   MREN(1)

NAME
mren - rename an existing MSDOS file SYNOPSIS
mren [ -v ] sourcefile targetfile DESCRIPTION
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. local MREN(1)

Check Out this Related Man Page

MWRITE(1)						      General Commands Manual							 MWRITE(1)

NAME
mwrite - low level write (copy) a Unix file to MSDOS SYNOPSIS
mwrite [ -tnvm ] unixfile msdosfile mwrite [ -tnvm ] unixfile [ unixfiles... ] msdosdirectory DESCRIPTION
In the first form, mwrite copies the specified Unix file to the named MSDOS file. The second form of the command copies multiple Unix files to the named MSDOS directory. Mwrite will allow the following command line options: t Text file transfer. Mwrite will translate incoming line feeds to carriage return/line feeds. n No warning. Mwrite will not warn the user when overwriting an existing file. v Verbose mode. Display the new filename if the Unix filename requires conversion. m Preserve the file modification times. If the target file already exists, and the -n option is not in effect, mwrite asks whether or not to overwrite the file. Reasonable care is taken to create a valid MSDOS filename. If an invalid name is specified, mwrite will change the name (and display the new name if the verbose mode is set). MSDOS subdirectory names are 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), mcopy(1), mread(1) BUGS
Unlike MSDOS, the destination directory may not be omitted. local MWRITE(1)
Man Page

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Connecting with X-win problem

Hello all, 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)
Discussion started by: dragunu
2 Replies

2. UNIX for Dummies Questions & Answers

how to know the list of all commands supported by unix ?

how to know the list of all commands supported by unix. how to know the list of functions supported by unix. (4 Replies)
Discussion started by: Gopi Krishna P
4 Replies

3. OS X (Apple)

Installation directory structure for downloaded program

OS X 10.3.9 I downloaded RealPlayer into my ~/download 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)
Discussion started by: migurus
0 Replies

4. Shell Programming and Scripting

count lines in a pattern

Hi, 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)
Discussion started by: sandeepk1611
9 Replies

5. Shell Programming and Scripting

greping word after new line character

how grep all user from the below looking file: User_Alias ADMIN1 = horacel, matthes, caseyl, alexl2, \ jackl, johnnyzh, maheshm, jihuih, davidw, \ christh, williaml,jasminez User_Alias ADMIN2 = tomc, apitssc, fengh, guh, kail,... (10 Replies)
Discussion started by: manojit123
10 Replies

6. AIX

IP connection

Hi, 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)
Discussion started by: Castelior
2 Replies

7. IP Networking

Help with iptables

photo... (1 Reply)
Discussion started by: beerpong1
1 Replies

8. Shell Programming and Scripting

How to remove part of the line from start of the line?

Hello, I am java command from a shell script which will generate the below output on the command prompt signature Base64 :... (10 Replies)
Discussion started by: chetanojha
10 Replies