GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - thiswillbeyourgithub/PDF_batch_decryptor: Super quick and dirty script to call "qpdf --decrypt" on all PDF files that `pdfinfo` deems encrypted

BranchesTags
Open more actions menu

Latest commit

 

History

11 Commits
11 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
PDF_batch_decryptor.py
PDF_batch_decryptor.py
 
 
README.md
README.md
 
 

Repository files navigation

PDF Batch Decryptor

Super quick and dirty script to call "qpdf --decrypt" on all PDF files that pdfinfo deems encrypted.

Usage

  1. Ensure you have the required dependencies installed:

    • Python 3.x
    • qpdf
    • pdfinfo (usually part of the poppler-utils package)
  2. Install the Python dependencies:

    pip install fire tqdm send2trash
    
  3. Run the script with the path to the directory containing PDF files:

    python PDF_batch_decryptor.py /path/to/pdf/directory
    
  4. The script will:

    • Check each PDF file for encryption
    • Ask if you want to decrypt each encrypted file
    • Decrypt the files you choose to decrypt
    • Move the original encrypted files to a trash directory
    • Generate a JSON file with information about the processed PDFs

Note: Make sure you have the necessary permissions to read and write files in the specified directory.

About

Super quick and dirty script to call "qpdf --decrypt" on all PDF files that `pdfinfo` deems encrypted

Resources

Readme
AGPL-3.0 license
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.