Helpful Terminal keyboard shortcuts

  • Go to beginning of the line: Ctrl+A
  • Go to end of the line: Ctrl+E
  • Toggle between the start of line and current cursor position: Ctrl + XX
  • Remove characters from the current position to the beginning: Ctrl+U
  • Remove characters from the current position to the end: Ctrl+K
  • Remove characters from the current position to the beginning of the word: Ctrl+W
  • Restore the deleted characters: Ctrl+Y

Bear

OpenSRS Logo

Remove PDF “open” passwords

I occasionally receive financial statements as password-protected PDF files. I appreciate the security, but would prefer to archive the files without the password requirement as I’m never going to remember the password when I do need to open them again.

There’s lots of PDF password removal applications out there, but I’ve found QPDF to do the job quite well. You can either install it from their site or simply install it with Homebrew:

brew install qpdf

Then, simply run the below in Terminal:

qpdf --decrypt --password=your_password encrypted_filename.pdf decrypted_filename.pdf

Bitterness

The Good Kind of Spying

Claudia: The good kind of spying, like “Here, have some flowers, and a puppy, and some spying”…

more