home *** CD-ROM | disk | FTP | other *** search
/ YPA: Your Privacy Assured / YPA.ISO / other_goodies / utilities / amigaelm-v6.lha / c / DecryptFolder < prev    next >
AmigaDOS Script File  |  1994-07-01  |  502b  |  17 lines

  1. .KEY foldername/A
  2. .BRA {
  3. .KET }
  4.  
  5. ; Decrypts all crypted messages in the given folder.
  6. ; You may need to set $PGPPASS to your pass phrase.
  7. ;
  8. ; It doesn't matter if there are no encrypted messages in the folder
  9. ; or if encrypted and normal messages are mixed.
  10.  
  11. Echo "Decrypting all e-mail in folder UUMail:{foldername}"
  12. RequestString PGPPASS "Please enter your PGP pass phrase:"
  13. Copy "UUMail:{foldername}" "UUMail:{foldername}.bak"
  14. PGPMore <"UUMail:{foldername}.bak" >"UUMail:{foldername}"
  15. Echo "Done."
  16.  
  17.