Can Hazel 6 strip a PDF off its password?

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Can Hazel 6 strip a PDF off its password? Thu Nov 07, 2024 9:45 pm • by ringgit
I read that I can supply a password to Hazel 6 and then it can read the contents of a password protected PDF like Bank Statement. Is there an action for Hazel to strip the password before filing the file? Each bank have different password convention and I always find that I can't remember what password format they used, so I ended up having to search for the email.
ringgit
 
Posts: 14
Joined: Sun Oct 31, 2021 1:57 am

Re: Can Hazel 6 strip a PDF off its password? Fri Nov 08, 2024 12:26 pm • by Mr_Noodle
Not at the moment. Hazel, in general, avoids modifying file contents. I suggest looking into other programs that do this that you can script from Hazel. Maybe Preview can do this?
Mr_Noodle
Site Admin
 
Posts: 11865
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Can Hazel 6 strip a PDF off its password? Fri Nov 08, 2024 8:11 pm • by ringgit
Thank you for your response.
ringgit
 
Posts: 14
Joined: Sun Oct 31, 2021 1:57 am

Re: Can Hazel 6 strip a PDF off its password? Sun Feb 02, 2025 10:46 pm • by deverman
Hi, I would also like to strip off my passwords. Would be great if the copy function had a checkbox to do that or something.

This command line tool can strip the password.

Code: Select all
qpdf --decrypt --password=PDF_PASSWORD "passwordprotected.pdf" "nopassword.pdf"


Change PDF_PASSWORD to the password of the PDF.
deverman
 
Posts: 3
Joined: Wed Dec 11, 2013 2:29 am


Return to Support