Go to the previous, next section.

Selecting files

-p
--intermix-type
Allow positional parameter options. The options -M, -B, -T, -z and -Z may be embedded, and files to the right of the option will be processed in the specified mode. Without the -p option, embedded options would be interpreted as filenames. See section Selecting how files are stocked for more information on these options.

-S
--stdin-file-list
Read list of files to be packed from the standard input rather than from the command line. Input must be one filename per line. This switch is especially useful when the command line will not hold the list of files to be packed. For example:

find . -type f -print | shar -S -o /tmp/big.shar

If -p is specified on the command line, then the options -M, -B, -T, -z and -Z may be included in the standard input (on a line separate from filenames). The maximum number of lines of standard input, file names and options, may not exceed 1024.

Go to the previous, next section.