An open API service indexing awesome lists of open source software.

https://github.com/saadarazzaq/unorganize-my-files

File UnOrganizer ๐Ÿ“๐Ÿ—‘๏ธ
https://github.com/saadarazzaq/unorganize-my-files

python shutil

Last synced: over 1 year ago
JSON representation

File UnOrganizer ๐Ÿ“๐Ÿ—‘๏ธ

Awesome Lists containing this project

README

          

# UnOrganize-My-Files ๐Ÿ“๐Ÿ—‘๏ธ๐Ÿ

This script is designed to un-organize files in a way that all files in subdirectories are moved to the parent directory of that subdirectory deleting that subdirectory afterwards. This is Helpful when we need to move all subdirectory files to a parent directory so that we may organize the files afterwards with our desire.

## ๐Ÿ’กIntuition

When you run the script, it prompts you to enter a path to the directory containing the files you want to un-organize. The script then processes each file in the subdirectory, moving all subdirectory files to the parent directory.

## โš’๏ธUsage

1. Run the script.
2. Enter the path of the directory you want to un-organize when prompted.
3. The script will move all files from that subdirectory to the parent directory deleting that subdirectory afterwards.

**Note**: This script is a basic un-organizer and might not cover all use cases. Use it with caution and consider backing up your files and folders before running the script.

## ๐Ÿ”ณOutputs

### Before Running the Script:

![image](https://github.com/SaadARazzaq/Organize-My-Files/assets/123338307/364d665a-8999-458c-94f8-f4e50b5c6f0f)

### After Running the Script:

![image](https://github.com/SaadARazzaq/UnOrganize-My-Files/assets/123338307/b2a8640a-8ae9-4d41-b7fb-95ffc9c77846)

![image](https://github.com/SaadARazzaq/Organize-My-Files/assets/123338307/a8f20167-2db3-475b-bf44-e53c9ca1b483)