all repos — dotfiles @ e1378670408c514b3594483c3efec0b56eb4be6c

linux dotfiles

update scripts/pd

comments
prithugoswami prithugoswami524@gmail.com
Fri, 25 May 2018 00:06:55 +0530
commit

e1378670408c514b3594483c3efec0b56eb4be6c

parent

0316a3dfca7c665dc4e69469374582d1cebba19b

1 files changed, 6 insertions(+), 2 deletions(-)

jump to
M scripts/pdscripts/pd

@@ -8,7 +8,11 @@ # Prerequisites : make sure these programs are available on the

# machine: # 'rclone' # 'vim' -# 'gpg' (v2) +# 'gpg' (v2.X) +# +# This is a very messy script and is just a quick hack and is not +# a very super secure way of keeping a journal but I hope to improve on +# it with time. # # This script opens a temp file in a vim buffer and after wrting # and quiting from vim, it appends the contents to the file

@@ -41,7 +45,7 @@ # in 'pd_path' and also in 'rclone_dir'

# # To symmetrically encrypt an empty file run: # `touch empty ; gpg2 --passphrase <secret> --batch -o pd -c empty` -# this should create an symmetrically encrypted AES file named 'pd' with +# this should create a symmetrically encrypted AES file named 'pd' with # the passphrase <secret> # This is not the most secure thing in the world I don't even intend it # to be. So anyways, the <secret> has to be saved as .pdkey in your home