Sem descrição

dependabot[bot] 290183febc build(deps-dev): bump pytest-cov from 2.12.0 to 2.12.1 há 2 anos atrás
.github 23101024da drop support for python3.4; upgrade dev env; disable travis há 3 anos atrás
free_disk 23101024da drop support for python3.4; upgrade dev env; disable travis há 3 anos atrás
tests 9f7925d5fe upgrade black; remove `pylint` from `tests_require` há 3 anos atrás
.gitignore dbcdf64ac2 env: downgrade zipp to restore compatibility with python3.4 & python3.5 há 4 anos atrás
.pylintrc 2dc9238adc pylint: enable import requirements plugin há 4 anos atrás
CHANGELOG.md 23101024da drop support for python3.4; upgrade dev env; disable travis há 3 anos atrás
LICENSE 576cd0c9fa MIT license há 5 anos atrás
Pipfile 4c7ce03746 dev env: add upper version constraint for `click` to keep compatibility with python3.5 há 3 anos atrás
Pipfile.lock 290183febc build(deps-dev): bump pytest-cov from 2.12.0 to 2.12.1 há 2 anos atrás
README.md 23101024da drop support for python3.4; upgrade dev env; disable travis há 3 anos atrás
mypy.ini a28bb585b6 github workflow: run mypy há 3 anos atrás
setup.py 23101024da drop support for python3.4; upgrade dev env; disable travis há 3 anos atrás

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