1
0

Add cipher/uncipher scripts

Signed-off-by: Arnaud Morin <arnaud.morin@ovhcloud.com>
This commit is contained in:
Arnaud Morin
2022-03-24 00:05:29 +01:00
parent 0a03f5bb81
commit b1a7fef631
2 changed files with 13 additions and 0 deletions

View 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