Coder Social home page Coder Social logo

download-file-organizer's Introduction

Download File Organizer

Texto em Português

This script automates the organization of your downloaded files.

Installation

Use the package manager pip to install watchdog.

pip install watchdog

How to use

First, you need to clone the repository.

git clone https://github.com/CodeByGab/download-file-organizer.git
cd download-file-organizer

Now, edit the path to your download path folder.
The example given is for a Windows directory, but you can change it to a directory path compatible with your OS.

# Put your Download Directory
# Or just the Path you want to organize / watch

download_file_path = "C:\\Users\\{Your-User}\\{Your}\\{Path}\\{Here}"

Then, you can run the script.

python3 fileOrganizer.py

Pess CTRL + C in prompt to stop the script.

How to run automatically on Windows

If you want to run the code at the same time your Windows starts, follow these steps:

  • Press win + r
  • Type shell:startup into the Run window
  • Copy the script to the Startup folder
  • Change the extension to .pyw instead of .py if you don't want to see the prints on prompt (It will run in background)
  • Optional - Convert the script to .exe
    Tip: run the code first with the .pyw extension before restart your pc, just to ensure the code runs correctly.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

download-file-organizer's People

Contributors

codebygab avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.