No Description

Fabian Peter Hammerle b783be5e23 add upper version constraint for setuptools-scm to fix `pipenv sync` on python3.4 3 years ago
.github 1305428056 test against python3.9 3 years ago
free_disk 498d5abc78 black format 4 years ago
tests 9f7925d5fe upgrade black; remove `pylint` from `tests_require` 3 years ago
.gitignore dbcdf64ac2 env: downgrade zipp to restore compatibility with python3.4 & python3.5 4 years ago
.pylintrc 2dc9238adc pylint: enable import requirements plugin 4 years ago
.travis.yml 1460ea0d09 travis: disable some redundant tests to speed up pipeline (python>=3.5 in github workflow) 4 years ago
CHANGELOG.md b783be5e23 add upper version constraint for setuptools-scm to fix `pipenv sync` on python3.4 3 years ago
LICENSE 576cd0c9fa MIT license 5 years ago
Pipfile 9f7925d5fe upgrade black; remove `pylint` from `tests_require` 3 years ago
Pipfile.lock e63cd3bf9a build(deps-dev): bump regex from 2020.11.13 to 2021.3.17 3 years ago
README.md f097861aac readme: added last release badge 4 years ago
mypy.ini a28bb585b6 github workflow: run mypy 4 years ago
setup.py b783be5e23 add upper version constraint for setuptools-scm to fix `pipenv sync` on python3.4 3 years ago

README.md

free-disk 💾

Build 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