File: afio_unpack_gpg

package info (click to toggle)
afio 2.5.2-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 768 kB
  • sloc: ansic: 4,972; sh: 139; makefile: 75; awk: 19
file content (10 lines) | stat: -rwxr-xr-x 336 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
#
# This example shows how to configure afio to unpack GnuPG encrypted archives.
# it is a companion script to afio_pack_gpg, see the comments there.

passphrasefile=my_passphrasefile

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