/Folder-Organizer

A python script that organizes files in a given folder.

Primary LanguagePython

Folder Organizer Script

Overview

This Python script organizes files in a specified folder by moving subdirectories to a folder named 'Folders' and creating directories based on file extensions.

Usage

  1. Run the script from the command line or terminal: Replace /path/to/your/folder with the absolute path to the folder you want to organize.

  2. The script will create a 'Folders' directory and move subdirectories into it. Files will be organized based on their extensions.

Requirements

  • Python 3.x

How to Run

  1. Clone or download the repository.

  2. Open a terminal or command prompt.

  3. Navigate to the directory containing the script.

  4. Run the script with the following command:

python main.py /path/to/your/folder

Replace /path/to/your/folder with the absolute path to the folder you want to organize.

Note

  • Ensure you have the necessary permissions to modify the specified folder.