Skip to main content

A lightweight solution to organise your folders and files

Project description

pyOrganize

An automated folder organizer in Python.
It runs in the background and watches for new files created by the user and moves it to it's folder(Images/Documents/Vides,etc), depending on the extension of the file.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

It needs watchdog module to trigger an event when a new file is created.

sudo pip install watchdog

Usage

Run it on your local machine by passing the name of the User Account in Linux.

python main.py vishnu

where, vishnu is the username of my system.

That's it!

Adding more file formats

Just copy and edit any of the if statement inside the proccess method in the eventHandler class.

eg, to organise .C files, add this snippet


    elif ".c" in event.src_path:
            fileName=event.src_path.replace(pathDownloads,"")
            os.rename(pathDownloads+fileName,pathDownloads+"C_programs"+fileName)   

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyorganise-0.0.3.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

pyorganise-0.0.3-py3-none-any.whl (15.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page