Sin descripción

dependabot[bot] cb9fa07037 build(deps): bump actions/checkout from 5 to 6 (#236) hace 1 día
.github cb9fa07037 build(deps): bump actions/checkout from 5 to 6 (#236) hace 1 día
free_disk b1302c5413 mypy: remove unused "type: ignore" comment hace 1 año
tests 17d8a1590f pylint: enable various optional checks/extensions hace 3 años
.gitignore dbcdf64ac2 env: downgrade zipp to restore compatibility with python3.4 & python3.5 hace 5 años
.pylintrc 4849a4f447 drop compatibility with python3.9 hace 3 semanas
CHANGELOG.md 7e673b772e test against python3.11–13 & declare compatibility hace 3 semanas
LICENSE 576cd0c9fa MIT license hace 6 años
Pipfile 4849a4f447 drop compatibility with python3.9 hace 3 semanas
Pipfile.lock 53c376fb3f build(deps-dev): bump black from 25.9.0 to 25.11.0 (#234) hace 1 semana
README.md e5821e5159 rename param `--delete-re` to `--delete-path-regex` (to avoid ambiguity) hace 3 años
mypy.ini 28839ae92a add additional (internal) type hints to enable mypy's strict mode hace 3 años
pyproject.toml 690bf1a5df move specification of build dependency on setuptools-scm from setup.py to pyproject.toml hace 6 meses
setup.py 7e673b772e test against python3.11–13 & declare compatibility hace 3 semanas

README.md

free-disk 💾

CI Pipeline Status Last Release Python Version

Delete file with the oldest modification date until a minimum of --free-bytes are available on the respective disk.

Install

pip3 install --user --upgrade free-disk

Usage

free-disk --help
free-disk --free-bytes 1GiB /dir/to/cleanup
free-disk --free-bytes 1GiB --delete-path-regex '\.mp4$' /dir/to/cleanup
free-disk --debug --free-bytes 2GB /dir/to/cleanup

Tests

pip3 install --user pipenv
git clone https://github.com/fphammerle/free-disk.git
cd freesurfer-volume-reader
pipenv run pylint free_disk
pipenv run pytest