summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.local/bin/decrypt-pdfs2
1 files changed, 2 insertions, 0 deletions
diff --git a/.local/bin/decrypt-pdfs b/.local/bin/decrypt-pdfs
new file mode 100755
index 0000000..7a2eee9
--- /dev/null
+++ b/.local/bin/decrypt-pdfs
@@ -0,0 +1,2 @@
+#!/bin/sh
+xargs -Iin.pdf qpdf --decrypt --password="${PASSWORD:?}" --replace-input in.pdf