{"id":19979036,"url":"https://github.com/fphammerle/free-disk","last_synced_at":"2025-05-04T04:32:25.910Z","repository":{"id":39620093,"uuid":"183739860","full_name":"fphammerle/free-disk","owner":"fphammerle","description":"Delete old files until a minimum of --free-bytes are available 💾","archived":false,"fork":false,"pushed_at":"2025-04-19T05:18:26.000Z","size":637,"stargazers_count":6,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-01T06:03:18.850Z","etag":null,"topics":["cleanup","disk-space","filesystem","modification-timestamps"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/free-disk/#history","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/fphammerle.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null}},"created_at":"2019-04-27T07:00:52.000Z","updated_at":"2025-04-19T05:18:29.000Z","dependencies_parsed_at":"2024-01-05T14:31:16.050Z","dependency_job_id":"f2a154e8-e6ec-4aba-8867-32140d3caa87","html_url":"https://github.com/fphammerle/free-disk","commit_stats":{"total_commits":171,"total_committers":3,"mean_commits":57.0,"dds":"0.45029239766081874","last_synced_commit":"322d9aaf4164202e9d80090ab5026bae722e6ca0"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fphammerle%2Ffree-disk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fphammerle%2Ffree-disk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fphammerle%2Ffree-disk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fphammerle%2Ffree-disk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fphammerle","download_url":"https://codeload.github.com/fphammerle/free-disk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252288911,"owners_count":21724323,"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":["cleanup","disk-space","filesystem","modification-timestamps"],"created_at":"2024-11-13T03:36:13.634Z","updated_at":"2025-05-04T04:32:22.708Z","avatar_url":"https://github.com/fphammerle.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# free-disk 💾\n\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![CI Pipeline Status](https://github.com/fphammerle/free-disk/workflows/tests/badge.svg)](https://github.com/fphammerle/free-disk/actions)\n[![Last Release](https://img.shields.io/pypi/v/free-disk.svg)](https://pypi.org/project/free-disk/#history)\n[![Python Version](https://img.shields.io/pypi/pyversions/free-disk.svg)](https://pypi.org/project/free-disk/)\n\nDelete file with the oldest modification date\nuntil a minimum of `--free-bytes` are available on the respective disk.\n\n## Install\n\n```sh\npip3 install --user --upgrade free-disk\n```\n\n## Usage\n\n```sh\nfree-disk --help\nfree-disk --free-bytes 1GiB /dir/to/cleanup\nfree-disk --free-bytes 1GiB --delete-path-regex '\\.mp4$' /dir/to/cleanup\nfree-disk --debug --free-bytes 2GB /dir/to/cleanup\n```\n\n## Tests\n\n```sh\npip3 install --user pipenv\ngit clone https://github.com/fphammerle/free-disk.git\ncd freesurfer-volume-reader\npipenv run pylint free_disk\npipenv run pytest\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffphammerle%2Ffree-disk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffphammerle%2Ffree-disk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffphammerle%2Ffree-disk/lists"}