OS Manuals

/usr/bin/ptar

various utilities included with perl

From perl-utils 5.44.0-r4 (os), captured 2026-11-05 by running ptar --help (exit 25). permalink

/usr/bin/ptar version [unknown] calling Getopt::Std::getopts (version 1.15 [paranoid]),
running under Perl version 5.44.0.

Usage: ptar [-OPTIONS [-MORE_OPTIONS]] [--] [PROGRAM_ARG1 ...]

The following single-character options are accepted:
	With arguments: -f -T
	Boolean (without arguments): -D -d -c -v -z -t -h -x -I -C

Options may be merged together.  -- stops processing of options.
Space is not required between options and their arguments.

For more details run
    perldoc -F /usr/bin/ptar
  [Now continuing due to backward compatibility and excessive paranoia.
   See 'perldoc Getopt::Std' about $Getopt::Std::STANDARD_HELP_VERSION.]
You need exactly one of 'x', 't' or 'c' options:
NAME

ptar - a tar-like program written in perl

DESCRIPTION

ptar is a small, tar look-alike program that uses the perl module
Archive::Tar to extract, create and list tar archives.

SYNOPSIS

    ptar -c [-v] [-z] [-C] [-f ARCHIVE_FILE | -] FILE FILE ...
    ptar -c [-v] [-z] [-C] [-T index | -] [-f ARCHIVE_FILE | -]
    ptar -x [-v] [-z] [-f ARCHIVE_FILE | -]
    ptar -t [-z] [-f ARCHIVE_FILE | -]
    ptar -h

OPTIONS

    c   Create ARCHIVE_FILE or STDOUT (-) from FILE
    x   Extract from ARCHIVE_FILE or STDIN (-)
    t   List the contents of ARCHIVE_FILE or STDIN (-)
    f   Name of the ARCHIVE_FILE to use. Default is './default.tar'
    z   Read/Write zlib compressed ARCHIVE_FILE (not always available)
    v   Print filenames as they are added or extracted from ARCHIVE_FILE
    h   Prints this help message
    C   CPAN mode - drop 022 from permissions
    T   get names to create from file

SEE ALSO

L<tar(1)>, L<Archive::Tar>.

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.