Home Explore Blog CI



man-pages

25th chunk of `zip.man`
8987a96ce51b192da6673cc00a0e950731cd5caafed036a20000000100000fd0
 to warn and continue.

              Characters that are not valid in the current  character  set  are
              escaped as #Uxxxx and #Lxxxxxx, where x is an ASCII character for
              a  hex  digit.  The first is used if a 16‐bit character number is
              sufficient to represent the Unicode character and the  second  if
              the  character  needs more than 16 bits to represent it’s Unicode
              character code.  Setting -UN to

                     e - escape

              as in

                     zip archive ‐sU ‐UN=e

              forces zip to escape all characters that are not printable  7‐bit
              ASCII.

              Normally  zip stores UTF-8 directly in the standard path field on
              systems where UTF-8 is the current character set and  stores  the
              UTF-8 in the new extra fields otherwise.  The option

                     u - UTF-8

              as in

                     zip archive dir ‐r ‐UN=UTF8

              forces  zip  to  store UTF-8 as native in the archive.  Note that
              storing UTF-8 directly is the default on Unix systems  that  sup‐
              port  it.   This  option could be useful on Windows systems where
              the escaped path is too large to be a valid path  and  the  UTF-8
              version  of the path is smaller, but native UTF-8 is not backward
              compatible on Windows systems.

       -v
       --verbose
              Verbose mode or print diagnostic version info.

              Normally, when applied to real operations,  this  option  enables
              the  display  of a progress indicator during compression (see ‐dd
              for more on dots) and requests verbose diagnostic info about zip‐
              file structure oddities.

              However, when -v is the only command line argument  a  diagnostic
              screen  is  printed instead.  This should now work even if stdout
              is redirected to a file, allowing easy saving of the  information
              for  sending  with  bug  reports to Info‐ZIP.  The version screen
              provides the help screen header with program name,  version,  and
              release date, some pointers to the Info‐ZIP home and distribution
              sites,  and  shows information about the target environment (com‐
              piler type and version, OS version, compilation date and the  en‐
              abled optional features used to create the zip executable).

       -V
       --VMS-portable
              [VMS]  Save  VMS file attributes.  (Files are  truncated at EOF.)
              When a ‐V archive is unpacked on a  non‐VMS  system,   some  file
              types (notably Stream_LF text files  and  pure binary files  like
              fixed‐512)  should  be  extracted intact.  Indexed files and file
              types with embedded record sizes (notably variable‐length  record
              types) will probably be seen as corrupt elsewhere.

       -VV
       --VMS-specific
              [VMS]  Save  VMS  file attributes, and  all allocated blocks in a
              file,  including  any  data beyond EOF.  Useful for  moving  ill‐
              formed  files   among   VMS  systems.   When a ‐VV archive is un‐
              packed on a non‐VMS system, almost all files will appear corrupt.

       -w
       --VMS-versions
              [VMS] Append the version number of the files to the name, includ‐
              ing multiple versions of files.  Default is to use only the  most
              recent version of a specified file.

       -ww
       --VMS-dot-versions
              [VMS] Append the version number of the files to the name, includ‐
              ing  multiple  versions of files, using the .nnn format.  Default
              is to use only the most recent version of a specified file.

       -ws
       --wild-stop-dirs
              Wildcards match only at a directory level.  Normally

Title: zip Options: -UN (cont.), -v, -V, -VV, -w, -ww, -ws
Summary
This section details more options for zip. It continues the explanation of '-UN', detailing how to force zip to store UTF-8 natively. It introduces '-v' for verbose mode or diagnostic version info, '-V' and '-VV' for saving VMS file attributes with different levels of data preservation, '-w' and '-ww' for appending VMS file versions to names with different formats, and '-ws' to force wildcard matching at the directory level.