Usage of managing pdf password command qpdf

Installation

$ brew install qpdf

Example

$ # Unlock pdf locked with password "test"
$ qpdf --decrypt --password=test doc.locked.pdf doc.unlocked.pdf