No Description

dependabot[bot] 5cdcced980 build(deps-dev): bump mypy from 0.812 to 0.902 1 week ago
.github 23101024da drop support for python3.4; upgrade dev env; disable travis 2 months ago
free_disk 23101024da drop support for python3.4; upgrade dev env; disable travis 2 months ago
tests 9f7925d5fe upgrade black; remove `pylint` from `tests_require` 6 months ago
.gitignore dbcdf64ac2 env: downgrade zipp to restore compatibility with python3.4 & python3.5 1 year ago
.pylintrc 2dc9238adc pylint: enable import requirements plugin 1 year ago
CHANGELOG.md 23101024da drop support for python3.4; upgrade dev env; disable travis 2 months ago
LICENSE 576cd0c9fa MIT license 2 years ago
Pipfile 4c7ce03746 dev env: add upper version constraint for `click` to keep compatibility with python3.5 4 weeks ago
Pipfile.lock 5cdcced980 build(deps-dev): bump mypy from 0.812 to 0.902 1 week ago
README.md 23101024da drop support for python3.4; upgrade dev env; disable travis 2 months ago
mypy.ini a28bb585b6 github workflow: run mypy 1 year ago
setup.py 23101024da drop support for python3.4; upgrade dev env; disable travis 2 months 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 --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