"Fossies" - the Fresh Open Source Software Archive

Member "afio-2.5.2/script3/afio_unpack_gpg" (30 Nov 2018, 336 Bytes) of package /linux/misc/afio-2.5.2.tgz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    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