GNU shar utilities: 2.1 Invoking the shar program

[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ] |  |  |  |  | [Top] | [Contents] | [Index] | [ ? ]

## 2.1 Invoking the `shar` program

The format of the `shar` command is one of:

    shar [ option ] … file …
    shar -S [ option ] …

In the first form, the file list is given as command arguments. In the second form, the file list is read from standard input. The resulting archive is sent to standard output unless the `-o` option is given.

Options can be given in any order. Some options depend on each other: the `-o` option is required if the `-l` or `-L` option is used. The `-n` option is required if the `-a` option is used. Also see `-V` below.

Some options are special purpose:

`--help`

  Print a help summary on standard output, then immediately exits.

`--version`

  Print the version number of the program on standard output, then immediately exits.

`-q`
`--quiet`

  Verbose off at `shar` time. Messages are usually issued on standard error to let the user follow the progress, while making the archives. This option inhibits these messages.

This document was generated by Bruce Korb on March, 25 2006 using texi2html 1.76.