Some updates

This commit is contained in:
2023-07-03 17:10:06 +02:00
parent dbd2cb88a1
commit 5db825003a
4 changed files with 14 additions and 2 deletions
Executable
+8
View File
@@ -0,0 +1,8 @@
#!/usr/bin/env bash
password=$(pass thomas/key/pdf)
for i in $@; do
echo >&2 "Encrypting $i"
qpdf --encrypt "$password" "$password" 256 -- "$i" --replace-input
done