Nessuna descrizione

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

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