1SPAX(1L)                    Schily´s USER COMMANDS                    SPAX(1L)
2
3
4

NAME

6       pax - portable archive interchange
7

SYNOPSIS

9       spax        [other options]      [-cdnv]      [-H|-L]      [-f archive]
10              [-o options]...  [-s replstr]...  [pattern...]
11
12
13       spax   -r   [other options]     [-cdiknuv]     [-H|-L]     [-f archive]
14              [-o options]...  [-p string]...  [-s replstr]...  [pattern...]
15
16
17       spax   -w   [other options]   [-dituvX]   [-H|-L]  [-b blocksize]  [-a]
18              [-f archive]   [-o options]...    [-s replstr]...    [-x format]
19              [file...]
20
21
22       spax   -r -w[other options]    [-diklntuvX]   [-H|-L]   [-o options]...
23              [-p string]...  [-s replstr]...  [file...] directory
24

DESCRIPTION

26       The pax utility shall read, write, and write lists of  the  members  of
27       archive files and copy directory hierarchies. A variety of archive for‐
28       mats shall be supported; see the -x format option.
29
30       The action to be taken depends  on  the  presence  of  the  -r  and  -w
31       options. The four combinations of -r and -w are referred to as the four
32       modes of operation: list, read, write, and  copy  modes,  corresponding
33       respectively to the four forms shown in the SYNOPSIS section.
34
35       list   In  list  mode (when neither -r nor -w are specified), pax shall
36              write the names of the members of the archive file read from the
37              standard  input, with pathnames matching the specified patterns,
38              to standard output. If a named file is of  type  directory,  the
39              file hierarchy rooted at that file shall be listed as well.
40
41       read   In  read  mode  (when -r is specified, but -w is not), pax shall
42              extract the members of the archive file read from  the  standard
43              input,  with  pathnames  matching the specified patterns.  If an
44              extracted file is of type directory, the file  hierarchy  rooted
45              at  that  file  shall  be extracted as well. The extracted files
46              shall be created performing pathname resolution with the  direc‐
47              tory in which pax was invoked as the current working directory.
48
49              If  an attempt is made to extract a directory when the directory
50              already exists, this shall not be considered  an  error.  If  an
51              attempt  is made to extract a FIFO when the FIFO already exists,
52              this shall not be considered an error.
53
54              The ownership, access, and modification times, and file mode  of
55              the restored files are discussed under the -p option.
56
57       write  In  write  mode (when -w is specified, but -r is not), pax shall
58              write the contents of the file operands to the  standard  output
59              in  an archive format. If no file operands are specified, a list
60              of files to copy, one per line, shall be read from the  standard
61              input.  A  file of type directory shall include all of the files
62              in the file hierarchy rooted at the file.
63
64       copy   In copy mode (when both -r and -w are specified), pax shall copy
65              the file operands to the destination directory.
66
67              If  no file operands are specified, a list of files to copy, one
68              per line, shall be read from the standard input. A file of  type
69              directory  shall  include all of the files