Add comments for commands.

[ci skip]
This commit is contained in:
Bastian Kleineidam 2014-04-07 18:54:20 +02:00
parent 29e10f3dd1
commit 70fdbf8536
1 changed files with 7 additions and 0 deletions

View File

@ -27,12 +27,19 @@ applications to be installed.
Examples Examples
--------- ---------
``` ```
# Extract several archives with different formats
patool extract archive.zip otherarchive.rar patool extract archive.zip otherarchive.rar
# Test archive integrity
patool test --verbose dist.tar.gz patool test --verbose dist.tar.gz
# List files stored in an archive
patool list package.deb patool list package.deb
# Create a new archive
patool create --verbose /path/to/myfiles.zip file1.txt dir/ patool create --verbose /path/to/myfiles.zip file1.txt dir/
# Show differences between two archives
patool diff release1.0.tar.gz release2.0.zip patool diff release1.0.tar.gz release2.0.zip
# Search for text insicde archives
patool search "def urlopen" python-3.3.tar.gz patool search "def urlopen" python-3.3.tar.gz
# Repackage an archive in a different format
patool repack linux-2.6.33.tar.gz linux-2.6.33.tar.bz2 patool repack linux-2.6.33.tar.gz linux-2.6.33.tar.bz2
``` ```