DhanushNehru / Python-Scripts

A curated list of python scripts for automating your tasks
https://dhanushnehru.github.io/Python-Scripts/
MIT License
185 stars 114 forks source link

Adding "PDF Organizer" Script #230

Open Retsamic opened 4 months ago

Retsamic commented 4 months ago

Summary

This pull request introduces a new utility script, "PDF Organizer," designed to automate the organization and management of PDF files within a specified directory. By analyzing PDF metadata, the script efficiently categorizes PDFs into subfolders, renames files for uniformity, and generates a summary report of the process.

Features

Motivation

Managing a large collection of PDF files can be tedious, especially when dealing with academic papers, legal documents, or extensive reports. This script aims to simplify file management, making it easier for users to locate and organize their PDFs based on content relevance.

How to Use

  1. Ensure PyPDF2 is installed: pip install PyPDF2
  2. Modify the source_folder and report_path in the script to match your directory structure.
  3. Run the script: python pdf_organizer.py

Future Enhancements

I believe this script will be a valuable addition to the repository, offering a practical solution to a common problem faced by many. I look forward to feedback and any suggestions for improvement.

DhanushNehru commented 2 months ago

@Retsamic please update the main Readme.md as well