No Description

dependabot[bot] 01cff9dfb0 build(deps-dev): bump typing-extensions from 4.5.0 to 4.6.2 (#119) 10 months ago
.github 4f99ac4693 pipeline: remove coveralls ("422 Client Error: Unprocessable Entity for url: https://coveralls.io/api/v1/jobs", `pytest --cov-fail-under=100 …` in place) 11 months ago
free_disk e5821e5159 rename param `--delete-re` to `--delete-path-regex` (to avoid ambiguity) 1 year ago
tests 17d8a1590f pylint: enable various optional checks/extensions 1 year ago
.gitignore dbcdf64ac2 env: downgrade zipp to restore compatibility with python3.4 & python3.5 4 years ago
.pylintrc 17d8a1590f pylint: enable various optional checks/extensions 1 year ago
CHANGELOG.md bfa9599007 release v1.0.0 1 year ago
LICENSE 576cd0c9fa MIT license 4 years ago
Pipfile b5896eaa99 dev env: add upper version constraint for isort to keep compatibility with python3.7 (has not reached end-of-life yet) 1 year ago
Pipfile.lock 01cff9dfb0 build(deps-dev): bump typing-extensions from 4.5.0 to 4.6.2 (#119) 10 months ago
README.md e5821e5159 rename param `--delete-re` to `--delete-path-regex` (to avoid ambiguity) 1 year ago
mypy.ini 28839ae92a add additional (internal) type hints to enable mypy's strict mode 2 years ago
setup.py aeeb53e114 drop compatibility with python3.6; test against python3.10 2 years ago

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