Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

ptar (1)

Name

ptar - like program written in perl

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

Description

Perl Programmers Reference Guide                                       PTAR(1)



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


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+-----------------------+
       |ATTRIBUTE TYPE |   ATTRIBUTE VALUE     |
       +---------------+-----------------------+
       |Availability   | runtime/perl-532      |
       +---------------+-----------------------+
       |Stability      | Pass-through volatile |
       +---------------+-----------------------+

SEE ALSO
       tar(1), Archive::Tar.



NOTES
       Source code for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This software was built from source available at
       https://github.com/oracle/solaris-userland.  The original community
       source was downloaded from
       http://www.cpan.org/src/5.0/perl-5.32.0.tar.gz.

       Further information about this software can be found on the open source
       community website at https://www.perl.org/.



perl v5.32.0                      2022-06-28                           PTAR(1)