Size Explorer is a Python script that analyzes the sizes of subfolders within a parent folder. It provides insights into the disk space occupied by each subfolder, helping you identify which subfolders are taking up the most space.
- Calculates the size of each subfolder within a parent folder
- Supports size units: bytes, kilobytes, megabytes, gigabytes, terabytes
- Sorts the subfolders by size in ascending or descending order
- Recursive calculation to determine the total size of subfolders within folders
- User-friendly command-line interface
1.Run the script
2.Follow the prompts (enter path of parent file, select unit size, and choose sort order)
3.Read the output!
Enter the parent directory path: /path/to/parent/folder
Choose the size unit:
- Bytes
- Kilobytes
- Megabytes
- Gigabytes
- Terabytes
Enter your choice: 3
Enter the sort order (asc for ascending, desc for descending): desc
Subfolder1: 52.30 MB
Subfolder2: 38.75 MB
Subfolder3: 21.45 MB
...