Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mwrite(1) [bsd man page]

MWRITE(1)						      General Commands Manual							 MWRITE(1)

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)

Check Out this Related Man Page

unix2dos(1)						      General Commands Manual						       unix2dos(1)

unix2dos - mtools utility to convert a UNIX file to DOS format SYNOPSIS
unix2dos unixfile OPTIONS
Name of the file to convert. DESCRIPTION
The unix2dos command converts a file from UNIX format to DOS format. The converted file replaces the original file. Subdirectory names that contain the '/' or '' separator are supported. If you use the '' separator or wildcards, you must enclose file names in quotes to protect them from the shell. The mcd command can be used to establish the device and the current working directory (relative to DOS), otherwise the default is A:. EXIT STATUS
The following exit values are returned: Success. Failure. ENVIRONMENT VARIABLES
The following environment variables affect the execution of unix2dos: If set, this variable names the file that contains the name of the current mtools working directory as established by the mcd command. If this variable is not set, the file $HOME/.mcwd is used. FILES
Contains the name of the current mtools working directory as established by the mcd command. If this file does not exist, the default mtools working directory is A:. Executable file SEE ALSO
Commands: mcopy(1), mread(1), mtools(1) mtype(1), mwrite(1) unix2dos(1)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

finding a file in Unix

Hi Guys I'm trying to look for a file in Unix but I do not know which path or directory it may be located in. Does anyone know the command to search and display the directory of a certain file? Thanks! (7 Replies)
Discussion started by: handynas
7 Replies

2. UNIX for Dummies Questions & Answers

basic Unix Question?

is there any reason why a user would want to create an empty file in Unix? (5 Replies)
Discussion started by: wmosley2
5 Replies

3. UNIX for Dummies Questions & Answers

Unix History Question: Why are filenames/dirnames case sentsitive in Unix?

I tried looking for the answer online and came up with only a few semi-answers as to why file and directory names are case sensitive in Unix. Right off the bat, I'll say this doesn't bother me. But I run into tons of Windows and OpenVMS admins in my day job who go batty when they have to deal... (3 Replies)
Discussion started by: deckard
3 Replies

4. UNIX for Dummies Questions & Answers

Ways to Access Files on Unix Server via Web

Hi all! I'm a web developer with a question. We have a contractor that is working on a project that requires the user to access a ton of files on the clients Unix server. He has plans to built a VB interface for on site windows users to access those files and wants us to develop a web based... (4 Replies)
Discussion started by: Imhotep1963
4 Replies

5. UNIX for Dummies Questions & Answers

Unix command help required

Hi All, Can anyone please help me in sort out the command to get the following command say File abc.log contains .... ...... This is the first line This is the second line This is the third line This is the fourth line This is the fifth line This is the first line This is the... (7 Replies)
Discussion started by: thaduka
7 Replies

6. UNIX for Dummies Questions & Answers

Where should I start?

Hi All, I'm working for a software consultancy ,where I'm working on Oracle. But I'm more interested towards open systems. I would like to start with Unix. I know Unix to some extent, but unable to understand where to start. :confused: Please suggest me where I can get very good material, and... (3 Replies)
Discussion started by: vrk1219
3 Replies

7. Shell Programming and Scripting

Unix script assigments.

Hi....i m working with Unix commands from 6 months. Now i wanna learn Unix scripting. I know the basic. But i need to practice. Can some one recommend me the site or books of Assigments.. question like "write a script to" that i ll learn easier and faster. (3 Replies)
Discussion started by: nithin03051985
3 Replies

8. UNIX for Dummies Questions & Answers

How to get out of "stuck" mode

Hi. I am relatively new to working with Unix OS. In the past few years I worked with windows but programmed on Linux through SSH. I have been working on a computer with Unix OS for the past few months, and I have a reoccurring problem. One of my processes gets stuck, and the computer freezes.... (5 Replies)
Discussion started by: mrguy123
5 Replies

9. UNIX for Dummies Questions & Answers

Unix command to copy files selectively

Hi, I'm new to Unix and am trying to write a copy command for the following scenario: Copy all .tif files from the src directory to dest directory but exclude the ones under archive directory. In other words, I'm trying to write the unix cp equivalent of the following ant target: <target... (3 Replies)
Discussion started by: anandkumarj
3 Replies

10. HP-UX

FTP script failing in middle , Error 421

All, I know this question has been asked , but mine is different scenario I am unsing HP unix, trying to transfer HP-Unix to HP-Unix. I am transfering a bunch of file form machine1 to machine2. when i intiate my FTP script the files are getting transfered from machine1 to machine2.... (7 Replies)
Discussion started by: arunkumar_mca
7 Replies

11. Shell Programming and Scripting

Search for word in a xml file and replace it with something else

Hello Unix Users, I am very new to Unix so I am not sure how do I do the following. I need a script such that when I type the following in the command prompt > . wordToBeReplaced DirectoryLocation will find the word someword located in a somefile.xml in DirectoryLocation... (8 Replies)
Discussion started by: 5211171
8 Replies

12. Shell Programming and Scripting

Basic Unix cp command help

I am new to unix so this is probably a pretty basic question. I am trying to write several commands on one line that creates a directory called bf in the current directory, then copy all files within that directory and any subdirectories, that do not start with the letter c to the new bf folder.... (5 Replies)
Discussion started by: scotty85
5 Replies

13. Shell Programming and Scripting

Search file in a unix

Hi All, There is one file in one of the directory in my Unix. I don't remember the file name and location exactly, But i have some what idea about the file name. Is it possible that the Unix can search that file in all directories and if any of the file name resemble that name i have given... (4 Replies)
Discussion started by: parthmittal2007
4 Replies

14. Shell Programming and Scripting

Defined Command in UNIX

Hello All, I have a question in Unix Let's say when the command is executed in Unix, where the shell search for that command in Unix. I mean where that command is defined in Unix. And how Can we make our own command. (7 Replies)
Discussion started by: adisky123
7 Replies

15. Shell Programming and Scripting

Need Generic command for disk space usage

Given this directory /web I need to get the current usage (in %) on Linux and Unix both using the same command on bash shell ? The command i tried was working on Unix (solaris) but does not filter the desired same value when run of Linux. My command df -h /web | awk '{print $5}' | sed -n... (5 Replies)
Discussion started by: mohtashims
5 Replies