{"id":22784508,"url":"https://github.com/anushadatta/diskstats","last_synced_at":"2025-03-30T15:23:14.037Z","repository":{"id":130892522,"uuid":"304930606","full_name":"anushadatta/DiskStats","owner":"anushadatta","description":"📀 Python Linux script to calculate disk usage statistics.","archived":false,"fork":false,"pushed_at":"2020-10-30T07:45:01.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-05T16:49:03.905Z","etag":null,"topics":["disk-usage","linux-shell","python-script"],"latest_commit_sha":null,"homepage":"","language":"Python","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/anushadatta.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":"2020-10-17T17:18:54.000Z","updated_at":"2023-04-11T10:59:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"68fdc94b-0587-4d1f-ba13-4a8f68a5a8eb","html_url":"https://github.com/anushadatta/DiskStats","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anushadatta%2FDiskStats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anushadatta%2FDiskStats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anushadatta%2FDiskStats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anushadatta%2FDiskStats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anushadatta","download_url":"https://codeload.github.com/anushadatta/DiskStats/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246335552,"owners_count":20760866,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["disk-usage","linux-shell","python-script"],"created_at":"2024-12-11T22:24:16.057Z","updated_at":"2025-03-30T15:23:14.011Z","avatar_url":"https://github.com/anushadatta.png","language":"Python","readme":"# DiskStats\n\nThis is a simple Python script on Linux which is used to traverse the directories and files, determine the size of the directories, and generate a disk usage statistics report in CSV format. Module ```sys.argv``` is used to access the terminal command line. \n\n### Script Execution\nTo run the script, follow the steps below: \n\n* Set up virtual environment \n```bash\n~$ virtualenv env\n```\n* Activate virtual environment\n```bash\n~$ source env/bin/activate \n```\n* Install dependencies\n```bash\n~$ pip install -r requirements.txt\n```\n* Run script\n```bash\n~$ ./disk_report.py /TARGET_DIRECTORY/\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanushadatta%2Fdiskstats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanushadatta%2Fdiskstats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanushadatta%2Fdiskstats/lists"}