Skip to content

yyousssef/Python-File-Automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Python File Automation

πŸ“Œ Project Overview

This project automates the organization of files inside a folder using Python.
It scans files, detects their extensions, and automatically moves them into organized folders (PDFs, Images, Text).

The goal of this project is to practice Python automation and reduce manual file management tasks.


βš™οΈ What the Script Does

  • Scans a source folder (downloads)
  • Detects file extensions
  • Creates folders automatically if they don’t exist
  • Moves files to the correct folder based on type

🧠 Example

Before running the script: downloads/ β”œβ”€β”€ report.pdf β”œβ”€β”€ image.png β”œβ”€β”€ notes.txt

After running the script: downloads/ β”œβ”€β”€ PDFs/ β”‚ └── report.pdf β”œβ”€β”€ IMAGES/ β”‚ └── image.png β”œβ”€β”€ Text/ β”‚ └── notes.txt


πŸ› οΈ Tools & Technologies

  • Python
  • os module
  • shutil module

πŸš€ How to Run the Project

  1. Clone the repository
  2. Create a folder named downloads
  3. Add sample files (pdf, images, txt)
  4. Run:
python main.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages