"Fossies" - the Fresh Open Source Software Archive

Member "afio-2.5.2/script3/afio_unpack_gpg_zip" (30 Nov 2018, 276 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_zip, see the comments there.
    6 passphrasefile=my_passphrasefile
    8 afio -ivzZ -3 3 -P ./gpg_decrypt_unzip my_archive_file 3<my_passphrasefile