[0m


WRMSDOS(1)	    UNIX Programmer's Manual	       WRMSDOS(1)



[1mNAME
     [0mwrmsdos - write files onto msdos (3.2) micro diskettes.

[1mSYNOPSIS
     wrmsdos [0m[ [1m-fiFaR [0m] [ [1m-d [0mdirectory ] [ [1m-t [0m] [ [1m-b [0m] file ...

[1mDESCRIPTION
     [0m_W_r_m_s_d_o_s writes a set of files to an [1mmsdos [0m(version 3.2)
     diskette.

     By default the files are written to the root directory, and
     the diskette is assumed to be already formatted and initial-
     ised to an [1mmsdos [0mstructure. Files of the same name are
     overwritten unless they are marked read-only, in which case
     confirmation is requested.

     The argument [1m-R [0mcauses UNIX directory names in the list of
     arguments to be recursively copied with their contents and
     subdirectories to the [1mmsdos [0mfile structure. Without this
     option directory names are assumed to be errors and cause
     diagnostics to be printed.

     The argument [1m-a [0mcauses the amount of free space left on the
     diskette to be displayed.	If the [1m-a [0moption 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 [1m-i [0mcauses the information already on the
     diskette to be discarded and a new [1mmsdos [0mstructure created.

     The argument [1m-f [0mcauses the diskette to be formatted before
     anything is written.  This option implies the [1m-i [0moption.
     Confirmation is requested before proceeding.

     The [1m-F [0moption suppresses confirmation messages and implies
     an affirmative answer in every case.

     The [1m-d [0moption specifies a directory other than the root
     directory which is created if necessary to which the files
     (and subdirectories created by the [1m-R [0moption) are written.
     The same notation as with _m_s_d_o_s_l_s is used to specify sub-
     directories.

     As with _m_s_d_o_s_c_a_t, each file name may be preceded by [1m-b [0mor by
     [1m-t [0mto indicate that the file and subsequent files up to the
     next such flag are to be treated as binary or text respec-
     tively. Text files are output with a carriage-return charac-
     ter 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



Printed 26/11/91    Revision 1.10 of 08/11/90			1






WRMSDOS(1)	    UNIX Programmer's Manual	       WRMSDOS(1)



     non-printing characters, the user is asked to confirm his
     intentions.

     If no [1m-b [0mor [1m-t [0moptions are specified, text mode is every-
     where 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.

[1mFILES
     [0m/dev/rfdf512

[1mSEE ALSO
     [0mmsdoscat(1), msdoscp(1), msdosls(1), msdosrm(1), adfscat(1),
     adfsls(1), wradfs(1), adfsrm(1), adfscp(1), fd(4).







































Printed 26/11/91    Revision 1.10 of 08/11/90			2



[0m