WRMSDOS(1) — UNIX Programmer’s Manual
NAME
wrmsdos − write files onto msdos (3.2) micro diskettes.
SYNOPSIS
wrmsdos [ −fiFaR ] [ −d directory ] [ −t ] [ −b ] file ...
DESCRIPTION
Wrmsdos writes a set of files to an msdos (version 3.2) diskette.
By default the files are written to the root directory, and the diskette is assumed to be already formatted and initialised to an msdos structure. Files of the same name are overwritten unless they are marked read-only, in which case confirmation is requested.
The argument −R causes UNIX directory names in the list of arguments to be recursively copied with their contents and subdirectories to the msdos file structure. Without this option directory names are assumed to be errors and cause diagnostics to be printed.
The argument −a causes the amount of free space left on the diskette to be displayed. If the −a option is used without supplying a filename to the command line, the amount of free space on the disc is displayed. if a filename(s) is given, the amount of free space on the disc after the file(s) has been copied is displayed.
The argument −i causes the information already on the diskette to be discarded and a new msdos structure created.
The argument −f causes the diskette to be formatted before anything is written. This option implies the −i option. Confirmation is requested before proceeding.
The −F option suppresses confirmation messages and implies an affirmative answer in every case.
The −d option specifies a directory other than the root directory which is created if necessary to which the files (and subdirectories created by the −R option) are written. The same notation as with msdosls is used to specify subdirectories.
As with msdoscat, each file name may be preceded by −b or by −t to indicate that the file and subsequent files up to the next such flag are to be treated as binary or text respectively. Text files are output with a carriage-return character prepended to each linefeed character and a control-Z character at the end, and non-printing characters are stripped. If a file contains more than a small number of non-printing characters, the user is asked to confirm his intentions.
If no −b or −t options are specified, text mode is everywhere assumed.
The read-only attribute is set on files copied from read-only UNIX files and the time and date fields are set from the modification times of the UNIX files.
FILES
/dev/rfdf512
SEE ALSO
msdoscat(1), msdoscp(1), msdosls(1), msdosrm(1), adfscat(1), adfsls(1), wradfs(1), adfsrm(1), adfscp(1), fd(4).
7th Edition — Revision 1.10 of 08/11/90