Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Obviously it would be rather boneheaded to leave the unencrypted file in place once you are sure that the encryption worked. right?

0
Posted

Obviously it would be rather boneheaded to leave the unencrypted file in place once you are sure that the encryption worked. right?

0

To decrypt the file you just encrypted type: @: gpg -d filename.gpg > filename.decrypted You don’t need to call the resulting file filename.decrypted any filename will do. But existing files by the same name will be overwritten. Before deleting the unencrypted file you may wish to check that this process really worked. Here’ how: @: cmp filename filename.decrypted cmp returns nothing if the two files are identical. If they are not – it tells you so. Now, you can safely erase the unencrypted file – if you can remember the password.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.