# PTARDIFF(1) - man - phpMan

[PTARDIFF(1)](https://www.chedong.com/phpMan.php/man/PTARDIFF/1/markdown)                       Perl Programmers Reference Guide                       [PTARDIFF(1)](https://www.chedong.com/phpMan.php/man/PTARDIFF/1/markdown)



## NAME
       ptardiff - program that diffs an extracted archive against an unextracted one

## DESCRIPTION
           ptardiff is a small program that diffs an extracted archive
           against an unextracted one, using the perl module [Archive::Tar](https://www.chedong.com/phpMan.php/perldoc/Archive%3A%3ATar/markdown).

           This effectively lets you view changes made to an archives contents.

           Provide the progam with an ARCHIVE_FILE and it will look up all
           the files with in the archive, scan the current working directory
           for a file with the name and diff it against the contents of the
           archive.

## SYNOPSIS
           ptardiff ARCHIVE_FILE
           ptardiff -h

           $ tar -xzf Acme-Buffy-1.3.tar.gz
           $ vi Acme-Buffy-1.3/README
           [...]
           $ ptardiff Acme-Buffy-1.3.tar.gz > README.patch

## OPTIONS
           h   Prints this help message

## SEE ALSO
       [**tar**(1)](https://www.chedong.com/phpMan.php/man/tar/1/markdown), [Archive::Tar](https://www.chedong.com/phpMan.php/perldoc/Archive%3A%3ATar/markdown).



perl v5.34.0                                 2025-07-25                                  [PTARDIFF(1)](https://www.chedong.com/phpMan.php/man/PTARDIFF/1/markdown)
