*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> mkmanifest (1)              
Title
Content
Arch
Section
 

mkmanifest(1)

Contents


NAME    [Toc]    [Back]

       mkmanifest  -  mtools  utility to create a shell script to
       restore UNIX file names from DOS

SYNOPSIS    [Toc]    [Back]

       mkmanifest [files]

OPTIONS    [Toc]    [Back]

       None

OPERANDS    [Toc]    [Back]

       A list of UNIX file names to be converted to DOS name format.

DESCRIPTION    [Toc]    [Back]

       The mkmanifest command creates a shell script that aids in
       the restore of UNIX file names that  were  overwritten  by
       DOS  file name restrictions.  DOS file names are uppercase
       only, cannot exceed 8 character names, 3 character  extensions
  and  do not support device names or nonalphanumeric
       characters.

       Not all UNIX file names are supported in  the  DOS  world.
       The  mtools  commands may have to change UNIX names to fit
       the DOS file name conventions.  Most commands provide  the
       verbose  option (-v), that displays new file names if they
       have been changed. The following table shows some examples
       of file name conversions:

       -----------------------------------------------
       UNIX name     DOS name   Reason for the change
       -----------------------------------------------
       thisisatest   THISISAT   file name too long
       file.stuff    FILE.STU   extension too long
       prn.txt       XRN.TXT    PRN is a device name
       .abc          X.ABC      null file name
       hot+cold      HOTXCOLD   illegal character
       -----------------------------------------------

EXIT STATUS    [Toc]    [Back]

       The following exit values are returned: Success.  Failure.

EXAMPLES    [Toc]    [Back]

       Assume you have the following UNIX files that you want  to
       copy to a DOS diskette using the mcopy command.

       very_long_name 2.many.dots illegal: good.c prn.dev Capital

       The mcopy command converts these file names to the following:


       very_lon 2xmany.dot illegalx good.c xprn.dev capital

       To  restore  the  previous  file names, use the mkmanifest
       command as follows: mkmanifest very_long_name  2.many.dots
       illegal:       \
                                  good.c  prn.dev Capital > manifest


       The  previous  mkmanifest  command   line   produces   the
       following:   mv   very_lon  very_long_name  mv  2xmany.dot
       2.many.dots mv illegalx illegal: mv  xprn.dev  prn.dev  mv
       capital Capital

       The  good.c file name did not require conversion, hence it
       was not included in the output.

       If these files were copied from diskette to  another  UNIX
       system,  and  you  wanted  to  restore the original names,
       retain a copy of the manifest file  (captured  output)  so
       that it can be used to convert the file names again.

FILES    [Toc]    [Back]

       Executable file

SEE ALSO    [Toc]    [Back]

      
      
       Commands: mcopy(1), mtools(1)



                                                    mkmanifest(1)
[ Back ]
 Similar pages
Name OS Title
dos2unix Tru64 mtools utility to convert a DOS file to UNIX
unix2dos Tru64 mtools utility to convert a UNIX file to DOS format
mread Tru64 mtools utility to perform a low level read (copy) of a DOS file to UNIX
mwrite Tru64 mtools utility to perform a low level write (copy) of a UNIX file to DOS
mcopy Tru64 mtools utility to copy DOS files to and from a UNIX operating system
smbtar.1 IRIX shell script for backing up SMB/CIFS shares directly to UNIX tape drives
mformat Tru64 mtools utility to add a DOS file system to a
mdel Tru64 mtools utility to delete a DOS file
mren Tru64 mtools utility to rename an existing DOS file
mtype Tru64 mtools utility to display the contents of a DOS file
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service