newridho / Halo-Dunia24

Hello World in multiple programming languages | Hacktoberfest repository
20 stars 136 forks source link

Disk Usage Analyzer #52

Closed pratikj697 closed 2 weeks ago

pratikj697 commented 3 weeks ago

Develop a Python script that analyzes disk usage in a directory and provides insights on the space consumed by each file and subdirectory. It should also be capable of detecting the largest files, and suggest possible candidates for deletion to free up space.

Requirements:

  1. Directory Traversal: Traverse all files and subdirectories in a given directory and compute their sizes.
  2. Sorting: Sort files by size in descending order, and display the largest files.

Edge Cases: Handle cases where certain files or directories are inaccessible (permissions error).

Please assign this task to me under HacktoberFest 2024.

newridho commented 2 weeks ago

dude this repo is intended only to show "Hello World" text in various programming languages