Skip to content

A python sorter to sort files in a desired directory.

Notifications You must be signed in to change notification settings

Worton1720/Sorter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

File Organizer

File Organizer is a Python script that helps you organize your files into categorized folders based on their file extensions. It's a handy tool to keep your directories neat and tidy.

Features

  • Organize files into categories such as video, code, audio, image, etc.
  • Customizable file extension categories.
  • Handles file renaming to prevent conflicts.
  • Removes empty folders after organizing files.

Installation

  1. Clone the repository:
git clone https://github.com/your_username/file-organizer.git
  1. Install dependencies:
pip install -r requirements.txt

Usage

  1. Navigate to the project directory:
cd file-organizer
  1. Run the main script:
python main.py
  1. Enter the directory path you want to organize or press Enter to use the default Downloads directory.

  2. The script will organize files in the specified directory into categorized folders.

  3. Optionally, continue organizing files in other directories as needed.

Configuration

You can customize file extension categories by modifying the extensions dictionary in the main.py file.

Dependencies

  • Python 3.x
  • Colorama

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

A python sorter to sort files in a desired directory.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages