Added examples of using password settings

This commit is contained in:
Vladimir Oprya 2020-11-04 13:08:37 +03:00
parent 1d3e8e2c89
commit 3efaf35903
1 changed files with 6 additions and 0 deletions

View File

@ -30,6 +30,9 @@ 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
# Extract archive with password
patool extract --password somepassword archive.rar
# Test archive integrity # Test archive integrity
patool test --verbose dist.tar.gz patool test --verbose dist.tar.gz
@ -39,6 +42,9 @@ 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/
# Create a new archive with password
patool create --verbose --password somepassword /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