Perl 5 version 32.0 documentation

ptar

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

  1. ptar -c [-v] [-z] [-C] [-f ARCHIVE_FILE | -] FILE FILE ...
  2. ptar -c [-v] [-z] [-C] [-T index | -] [-f ARCHIVE_FILE | -]
  3. ptar -x [-v] [-z] [-f ARCHIVE_FILE | -]
  4. ptar -t [-z] [-f ARCHIVE_FILE | -]
  5. ptar -h

OPTIONS

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

SEE ALSO

tar(1), Archive::Tar.