1 #!/bin/sh 2 # 3 # This example shows how to configure afio to unpack GnuPG encrypted archives. 4 # it is a companion script to afio_pack_gpg, see the comments there. 5 6 passphrasefile=my_passphrasefile 7 8 afio -ivzZ -3 3 -P gpg -3 3 -Q --decrypt -Q --no-options -Q --batch -Q --passphrase-fd=3 -Q --no-verbose my_archive_file 3<$passphrasefile 9 10