Skip to content

A python script to organise files on your desktop by sorting them into specific folders based on their file types.

License

Notifications You must be signed in to change notification settings

Ash-2k3/DesktopCleaner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Desktop File Organizer in Python

This Python script helps you organize files on your desktop by sorting them into specific folders based on their file types.

Features

  • Moves images (JPG, PNG) to an "S-Images" folder.
  • Moves PDFs to an "S-Docs" folder.
  • Moves TXT files to an "S-Docs" folder.

Note: You can easily modify the script to support additional file types and folders.

Installation

  1. Prerequisites:
  • Make sure you have Python 3 installed on your system. You can check by running python --version or python3 --version in your terminal.
  • If you don't have Python, download and install it from the official website: https://www.python.org/downloads/
  1. Download the Script:
  • Download the script file (main.py).
  1. Run the Script:
    • Open a terminal window and navigate to the directory where you want to arrange the files.

    • Run the script using the following command:

      python /path/to/main.py

Important Note: This script modifies your file system. It's recommended to back up your desktop files before running the script for the first time.

Usage

Simply run the script (python main.py) and it will automatically organize your desktop files based on their types.

Contributing

If you have any suggestions or want to contribute to expanding the script's functionality, feel free to create a pull request on a forked repository of this project.

License

This script is provided under the MIT License. See the LICENSE file for details.

About

A python script to organise files on your desktop by sorting them into specific folders based on their file types.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages