parent
bfe9ab7625
commit
16361ba5f4
|
@ -29,16 +29,22 @@ Examples
|
||||||
```
|
```
|
||||||
# Extract several archives with different formats
|
# Extract several archives with different formats
|
||||||
patool extract archive.zip otherarchive.rar
|
patool extract archive.zip otherarchive.rar
|
||||||
|
|
||||||
# Test archive integrity
|
# Test archive integrity
|
||||||
patool test --verbose dist.tar.gz
|
patool test --verbose dist.tar.gz
|
||||||
|
|
||||||
# List files stored in an archive
|
# List files stored in an archive
|
||||||
patool list package.deb
|
patool list package.deb
|
||||||
|
|
||||||
# Create a new archive
|
# 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
|
# 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
|
|
||||||
|
# Search for text inside 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
|
# 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
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue