Home Explore Blog CI



man-pages

22th chunk of `zip.man`
7547ef09ef23a14457466dbeda36b4214fd5d93a2eaf75cd0000000100000fcd
 command parser permutes the arguments,  putting  all  options
              and  any  values associated with them before any non‐option argu‐
              ments.  This allows an option to appear anywhere in  the  command
              line  as  long  as any values that go with the option go with it.
              This option displays the command line as zip sees  it,  including
              any  arguments from the environment such as from the ZIPOPT vari‐
              able.  Where allowed, options later in the command line can over‐
              ride options earlier in the command line.

       -sf
       --show-files
              Show the files that would be operated on,  then  exit.   For  in‐
              stance,  if creating a new archive, this will list the files that
              would be added.  If the option is negated, -sf-, output  only  to
              an  open  log  file.  Screen display is not recommended for large
              lists.

       -so
       --show-options
              Show all available options supported by zip as  compiled  on  the
              current  system.   As  this  command  reads  the option table, it
              should include all options.  Each line includes the short  option
              (if  defined),  the  long  option (if defined), the format of any
              value that goes with the option, if the option  can  be  negated,
              and  a  small description.  The value format can be no value, re‐
              quired value, optional  value,  single  character  value,  number
              value, or a list of values.  The output of this option is not in‐
              tended  to  show how to use any option but only show what options
              are available.

       -sp
       --split-pause
              If splitting is enabled with -s, enable split pause  mode.   This
              creates  split archives as -s does, but stream writing is used so
              each split can be closed as soon as it is written  and  zip  will
              pause  between  each split to allow changing split destination or
              media.

              Though this split mode allows writing splits directly  to  remov‐
              able  media,  it uses stream archive format that may not be read‐
              able by some unzips.  Before relying on splits created with  -sp,
              test a split archive with the unzip you will be using.

              To  convert  a stream split archive (created with -sp) to a stan‐
              dard archive see the --out option.

       -su
       --show-unicode
              As -sf, but also show Unicode version of the path if exists.

       -sU
       --show-just-unicode
              As -sf, but only show Unicode version of the path if exists, oth‐
              erwise show the standard version of the path.

       -sv
       --split-verbose
              Enable various verbose messages while splitting, showing how  the
              splitting is being done.

       -S
       --system‐hidden
              [MSDOS, OS/2, WIN32 and ATARI] Include system and hidden files.
              [MacOS] Includes finder invisible files, which are ignored other‐
              wise.

       -t mmddyyyy
       --from-date mmddyyyy
              Do  not  operate  on  files modified prior to the specified date,
              where mm is the month  (00‐12),  dd  is  the  day  of  the  month
              (01‐31),  and  yyyy  is  the  year.   The  ISO 8601  date  format
              yyyy-mm-dd is also accepted.  For example:

                     zip ‐rt 12071991 infamy foo

                     zip ‐rt 1991‐12‐07 infamy foo

              will add all the files in foo and its  subdirectories  that  were
              last modified on or after 7 December 1991, to the zip archive in‐
              famy.zip.

       -tt mmddyyyy
       --before-date mmddyyyy
              Do  not operate on files modified after or at the specified date,
              where

Title: zip Options: -sf, -so, -sp, -su, -sU, -sv, -S, -t, -tt
Summary
This section outlines several zip command options: '-sf' displays files to be operated on, '-so' shows all supported options, '-sp' enables split pause mode for removable media, '-su' shows Unicode paths, '-sU' shows only Unicode paths, '-sv' enables verbose splitting messages, '-S' includes system and hidden files, '-t' excludes files modified before a date, and '-tt' excludes files modified after a date.