9 lines
175 B
Plaintext
9 lines
175 B
Plaintext
|
#!/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
|