r00kie-alt / SizeExplorer

Size explorer is a simple Python script that analyzes the sizes of subfolders within a parent folder. It provides insights into the storage consumption of individual subfolders, helping you understand which folders are taking up the most space.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SizeExplorer

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.

Features

  • 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

Usage

1.Run the script
2.Follow the prompts (enter path of parent file, select unit size, and choose sort order)
3.Read the output!

Example Usage

Enter the parent directory path: /path/to/parent/folder
Choose the size unit:

  1. Bytes
  2. Kilobytes
  3. Megabytes
  4. Gigabytes
  5. Terabytes
    Enter your choice: 3
    Enter the sort order (asc for ascending, desc for descending): desc

Example Output

Subfolder1: 52.30 MB
Subfolder2: 38.75 MB
Subfolder3: 21.45 MB
...

About

Size explorer is a simple Python script that analyzes the sizes of subfolders within a parent folder. It provides insights into the storage consumption of individual subfolders, helping you understand which folders are taking up the most space.


Languages

Language:Python 100.0%