Relying on gpg exit code 0?

Sergi Blanch i Torné sbt at megacceso.com
Wed Jul 6 17:35:52 CEST 2005


Hi,

Could be better:
tar cf - /home/user1/* | gpg -er 0x01234567 - > 
/backup/directory/user1.tar.gpg
And in $? you should have the return code.
isn't it?

/Sergi.

En/na Adam Funk ha escrit:
> Should I be confident about using gpg's return code 0 in a script (run 
> automatically by at or cron) to make encrypted backups?  Example:
> 
> cd /backup/directory
> tar cf user1.tar /home/user1
> gpg -er 0x01234567 user1.tar && rm user1.tar
> 
> Thanks,
> Adam
> 
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users at gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users
> 



More information about the Gnupg-users mailing list