Skip to content

To clean and organize Windows downloads folder Automatically using Python

License

Notifications You must be signed in to change notification settings

karthikmprakash/cleanDownloads

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clean Downloads Folder


Folder Automation - Auto Sorting

Easy auto sorting any cluttered folder into descrete categories
Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgements

About The Project

We have all been through the most tiring and boring work looking for one important document through cluttered desktop or downloads folder! Yes, it can be partially if not fully solved by sorting the files into specific folder depending on the file extensions. But again, who has the time to sort stuff! Automation can help us here

Here's how:

  • Python comes in for the rescue with its immense versatility and ease of use!
  • Lets have a watchdog who waits for any changes in the target folder
  • Lets make a list of extensions we already know about and the designated folder it should end up in
  • Loop through the files and move them with the move command of shutil library
  • pyinstaller is used to create an executable to run the script without having to install any other dependancies

A list of commonly used resources that I find helpful are listed in the acknowledgements.

Built With

This section should list any major modules that is used in this project.

Getting Started

If you want to test it out locally on your machine. Follow these steps below

Prerequisites

Windows Machine : The code is written for windows machine. You can customize it by changing the directory path as required

Installation

  1. Clone the repo
git clone https://github.com/karthikmprakash/cleanDownloads.git
  1. If you want to Install the executable
    cd cleanDownloads\build
    main.exe
  2. Install all packages
    pip install -r requirements.txt
  3. Check if your user directory name is same as your user name
    import os
    os.getlogin()
  4. To convert the python package into a executable
pip install pyinstaller
pyinstaller --onefile -w your_python_file.py

The --onefile bundles up everything into one file to be executed. -w is used to when your program does not require command prompt for execution

Usage

The project can be reprogrammed to ones requirements, you can set up a routine or any action trigger like environment. for ex:

  • Rename files in a folder with a predefined structure.

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Open!

Contact

Your Name - Karthik M Prakash @karthikmprakash - [email protected]

Project Link: https://github.com/karthikmprakash/cleanDownloads

Acknowledgements

About

To clean and organize Windows downloads folder Automatically using Python

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published