Skip to content

We are going to create a file organiser that detects when you download a file and checks the extension of said file to then automatically place it in the correct folder within your downloads library and so on.

License

Notifications You must be signed in to change notification settings

pyrosprites/file-organizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

image

Currently only working for windows, this is my first attempt to create a finished project in python, so if you discover any issues besides the ones already mentioned or perhaps an oversight in the way I have constructed my code, please feel free to make any advancing changes.

Take a look at these

Installation Known Issues

Issues found so far:

  • Minor issue catching temp files when processing downloads

Installation:

My current setup works with a bat script in my startup folder to run this python project.

Where do we find this folder? Press Win + R, this will open a window where you will copy and paste this directory C:\Users\(your-name)\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup.

There you will create a file called startup.bat, the name doesn't matter only the contents that follow.

@echo off
start "WhatEverTitleYouWant" "C:\Python311\Projects\organiser\main.pyw"

The directory in the second paramater is there for you to provide where you wish to have this project be. I chose my root python directory to get rid of my own stress >.> but you can do what you want.

From here you must have setup the startup and where you want the project to be stored, and now we almost forgot to install our modules.

We utalize the Watchdog module to observe these files and folders so let's install them with a simple command.

pip install Watchdog

Restart your device and when you boot up again you should see your files already organized, if not then you must simply move a file to the Downloads folder and you should see it work.

Otherwise, please create an issue and elaborate on your situation or how the process can be improved.

About

We are going to create a file organiser that detects when you download a file and checks the extension of said file to then automatically place it in the correct folder within your downloads library and so on.

Topics

Resources

License

Stars

Watchers

Forks

Languages