{"id":23684743,"url":"https://github.com/abdullahmaqbool22/windows-file-organizer","last_synced_at":"2026-05-03T15:33:59.127Z","repository":{"id":250882460,"uuid":"835744382","full_name":"AbdullahMaqbool22/Windows-File-Organizer","owner":"AbdullahMaqbool22","description":"This PowerShell script organizes files in a specified directory into subfolders based on their file extensions. For example, all .txt files will be moved to a folder named txt.","archived":false,"fork":false,"pushed_at":"2024-07-30T22:00:43.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-21T23:39:48.136Z","etag":null,"topics":["file","organizer","powershell","windows"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AbdullahMaqbool22.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-30T12:54:27.000Z","updated_at":"2024-07-30T22:00:46.000Z","dependencies_parsed_at":"2025-02-19T21:41:15.610Z","dependency_job_id":"2bc6ea71-09db-464d-8f15-c12f9e437413","html_url":"https://github.com/AbdullahMaqbool22/Windows-File-Organizer","commit_stats":null,"previous_names":["abdullahmaqbool22/windows-file-organizer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AbdullahMaqbool22/Windows-File-Organizer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbdullahMaqbool22%2FWindows-File-Organizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbdullahMaqbool22%2FWindows-File-Organizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbdullahMaqbool22%2FWindows-File-Organizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbdullahMaqbool22%2FWindows-File-Organizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AbdullahMaqbool22","download_url":"https://codeload.github.com/AbdullahMaqbool22/Windows-File-Organizer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbdullahMaqbool22%2FWindows-File-Organizer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32575111,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["file","organizer","powershell","windows"],"created_at":"2024-12-29T20:48:13.491Z","updated_at":"2026-05-03T15:33:59.098Z","avatar_url":"https://github.com/AbdullahMaqbool22.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Windows File Organizer\n\nThis PowerShell script organizes files in a specified directory into subfolders based on their file extensions. For example, all `.txt` files will be moved to a folder named `txt`.\n\n## Features\n\n- Automatically create folders based on file extensions.\n- Move files into corresponding folders based on their extensions.\n- Easy to use and modify.\n\n## Requirements\n\n- Windows PowerShell (available on all modern Windows systems).\n- Appropriate permissions to create folders and move files in the specified directory.\n\n## Usage\n\n1. **Download or Clone the Script**: Download the `OrganizeFilesByExtension.ps1` script from this repository or copy the content from below.\n\n2. **Modify the Script**: \n   - Open the script in a text editor.\n   - Set the `$sourceDirectory` variable to the path of the directory you want to organize. For example:\n     ```powershell\n     $sourceDirectory = \"C:\\path\\to\\your\\directory\"\n     ```\n   - Save the changes.\n\n3. **Run the Script**: \n   - Open PowerShell as an administrator.\n   - Navigate to the directory where the script is located using the `cd` command.\n   - Execute the script by typing:\n     ```powershell\n     .\\OrganizeFilesByExtension.ps1\n     ```\n\n4. **Result**: The script will create folders named after each file extension in the specified directory and move the corresponding files into these folders.\n\n## Notes\n\n- **Backup Your Data**: Always ensure you have backups of your data before running scripts that modify files.\n- **Customizations**: You can modify the script to include files from subdirectories by adding the `-Recurse` parameter to the `Get-ChildItem` command.\n- **Permissions**: Make sure you have the necessary permissions to run the script and modify the files in the directory.\n\n## License\n\nThis script is open-source and available for use and modification. Feel free to customize it according to your needs.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdullahmaqbool22%2Fwindows-file-organizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabdullahmaqbool22%2Fwindows-file-organizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdullahmaqbool22%2Fwindows-file-organizer/lists"}