Skip to content

A script that cleans up your desktop and moves files into the right directories.

License

Notifications You must be signed in to change notification settings

Cuzart/desktop_cleaner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Desktop Cleaner Script 🧹

This script automatically moves files from a choosen directory to defined subdirectories.

Getting started

  1. Prerequisites

    Before you start, you should have Python 3 with Pip installed.

    Then set up a virtual environment and install the required packages inside the project.

    pip install -r requirements.txt
  2. Configure your paths

    Now you can configure your source and destination path in a .env file. There is a .env.example file, that you can rename and use.

    SOURCE_DIR=/Users/youruser/Desktop
    DESTINATION_DIR=/Users/youruser/Documents

    You can also change the logic on how to determine different paths for each file in the get_destination function in functions.py.

  3. Start the script.

    You can start the script manually or set up a cron job to do so.

    python main.py

About

A script that cleans up your desktop and moves files into the right directories.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published