https://github.com/samuelson777/file-organizer-script
A PowerShell script that automates file organization by sorting files into subdirectories based on their types (images, documents, videos, music, and others) for a clutter-free workspace.
https://github.com/samuelson777/file-organizer-script
automation file-management file-organization open-source powershell productivity scripting windows
Last synced: 9 months ago
JSON representation
A PowerShell script that automates file organization by sorting files into subdirectories based on their types (images, documents, videos, music, and others) for a clutter-free workspace.
- Host: GitHub
- URL: https://github.com/samuelson777/file-organizer-script
- Owner: Samuelson777
- Created: 2025-04-22T17:34:15.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-04-22T18:07:14.000Z (9 months ago)
- Last Synced: 2025-04-23T15:15:47.719Z (9 months ago)
- Topics: automation, file-management, file-organization, open-source, powershell, productivity, scripting, windows
- Language: PowerShell
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# File Organizer Script
## Overview
The **File Organizer Script** is a PowerShell script designed to help users organize files in a specified directory by moving them into subdirectories based on their file types. This script simplifies file management and helps keep your workspace tidy.
## Features
- Organizes files into subdirectories:
- Images (e.g., .jpg, .jpeg, .png, .gif)
- Documents (e.g., .pdf, .doc, .docx, .txt)
- Videos (e.g., .mp4, .mkv, .avi)
- Music (e.g., .mp3, .wav)
- Others (any other file types)
## Prerequisites
- Windows operating system
- PowerShell (comes pre-installed with Windows)
- Execution policy set to allow script execution (you can set it using `Set-ExecutionPolicy RemoteSigned -Scope CurrentUser `)
## Example
Given a directory with the following files:
- example.jpg
- example.pdf
- example.mp4
- example.txt
- example.unknown
After running the script, the directory structure will be:
- Images/
- example.jpg
- Documents/
- example.pdf
- example.txt
- Videos/
- example.mp4
- Others/
- example.unknown
## Example Screenshots of File Organizer


## Conclusion
The File Organizer Script project provides a practical solution for managing and organizing files within a specified directory on Windows systems. By automating the process of sorting files into designated subdirectories based on their types, this script enhances productivity and helps maintain a clutter-free workspace.
Through the use of PowerShell, users can easily execute the script with minimal setup, making it accessible even for those with limited programming experience. The script's flexibility allows for easy customization, enabling users to add more file types or modify the organization structure as needed.
Overall, this project not only simplifies file management but also serves as a valuable learning experience in scripting and automation. Whether for personal use or in a professional environment, the File Organizer Script is a useful tool that can save time and effort in managing digital files. As you continue to develop your skills, consider expanding this project with additional features, such as a user interface or integration with cloud storage solutions, to further enhance its functionality.
## Acknowledgments
Inspired by the need for better file organization in personal and professional environments.