Skip to content

Commit 72b3946

Browse files
committed
refactor: add decryption command
1 parent 9a05fd4 commit 72b3946

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Encrypt.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
#!/bin/bash
2+
23
echo "Welcome, I am ready to encrypt a file/folder for you"
34
echo "currently I have a limitation, Place me to teh same folder, where a file to be encrypted is present"
45
echo "Enter the Exact File Name with extension"
56
read file;
7+
# decryption command
8+
# gpg -d filename.gpg > filename
69
gpg -c $file
710
echo "I have encrypted the file sucessfully..."
811
echo "Now I will be removing the original file"

0 commit comments

Comments
 (0)