Add cipher/uncipher scripts
Signed-off-by: Arnaud Morin <arnaud.morin@ovhcloud.com>
This commit is contained in:
7
terraform/training/files/uncipher.sh
Executable file
7
terraform/training/files/uncipher.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
ls -1 *.gpg | while read f ; do
|
||||
echo "Unciphering $f"
|
||||
n=${f%.gpg}
|
||||
cat $f | gpg -d > $n
|
||||
done
|
||||
Reference in New Issue
Block a user