datateknik-lth/datateknik-lth — pull request #20 by antoneliasson (2014-10-27 21:45:47+00:00)
Title: Strip silly PDF passwords. They are apparently common knowledge anyway.

$ for file in */*.pdf; do pdftk "$file" input_pw birds output "$file-decrypted"; done
$ for file in */*.pdf-decrypted; do /bin/mv "$file" "$(echo $file | sed 's/-decrypted//')"; done