qpdf --password=pwd –-decrypt a.pdf b.pdf
This is failing with the following message
qpdf: unknown argument b.pdf
Password is correct and a.pdf exists. All the examples on the net has the same format.
I am running the same on ubuntu 18.04. pdftk is no more available in ubuntu 18.