Encrypt files with GnuPG

Here is a simple and quick way for you to encrypt files in Linux:

gpg –output doc.gpg –encrypt –recipient EmailofRecipient@blah.com original_file.doc

Further explained:

  • –output (or -o) is the name of the encrypted file
  • –recipient (or -r) is the person who will be decrypting the file. If the file is for yourself only, use the email address of your GPG key.

To decrypt:

gpg --output output_file.doc --decrypt doc.gpg

I recently used this to encrypt a sensitive file before placing it on my Dropbox account. Nice safe way to place a private document in the cloud.

Reference, GnuPG manual.

10 thoughts on “Encrypt files with GnuPG

  1. I was just browsing through the internet looking for some information and came across your blog. I am impressed by the information that you have on this blog. It shows how well you understand this subject. Bookmarked this page, will come back for more.

  2. 中信银行:央行对虚拟信用卡的要求合理上半年利润增速缓慢的中信银行全年业绩领跑同行。中信银行昨天发布年报,去年公司净利润391.75亿元&#6529

  3. 一男子多次信用卡透支 在逃多年终被抓  据了解,贾某涉嫌信用卡诈骗一案,由中国农业银行赤峰市松山支行工作人员于2011年12月15日8时许报案至&#2

  4. 劳动合同解除的概念和协商解除的条件劳动合同的解除,是指劳动合同在订立以后,尚未履行完毕或者未全部履行以前,由于合同双方或者单&#26

  5. 自书遗嘱的程序遗嘱是指遗嘱人生前在法律允许的范围内,按照法律规定的方式对其遗产或其他事务所作的个人处分, 并于遗嘱人死亡时发生&#2

  6. 逾期担保期限,担保责任免除2011年7月14日,王某向张某借款10万元,并给张某出具借条一张,借条内容为:“今借张某现金壹拾万元整,借款期限一&#2

  7. As well as dividends should be reinvested back into the companys shares (also commission free), until retirement. Every cent you invest should are employed by your ROI. If Id followed my gut instinct earlier on if your partnership had been discussed, Id have walked alright off them. Their bond cost us credibility,Zapatillas Asics Gel Noosa, lost Google ranking, with a whole year of our lives.Ending up with a credit file a great method start to take power over your financial future. Free Articles

Comments are closed.