No Description

Fabian Peter Hammerle 48169d4c36 pipeline: pin pipenv version to make builds reproducible 2 months ago
.github 48169d4c36 pipeline: pin pipenv version to make builds reproducible 2 months ago
free_disk 498d5abc78 black format 1 year ago
tests 498d5abc78 black format 1 year ago
.gitignore dbcdf64ac2 env: downgrade zipp to restore compatibility with python3.4 & python3.5 9 months ago
.pylintrc 2dc9238adc pylint: enable import requirements plugin 9 months ago
.travis.yml 1460ea0d09 travis: disable some redundant tests to speed up pipeline (python>=3.5 in github workflow) 2 months ago
CHANGELOG.md c49e302582 release v0.2.1 1 year ago
LICENSE 576cd0c9fa MIT license 1 year ago
Pipfile 07201d1725 dev env: add version constraint for lazy-object-proxy to keep python3.4 compatibility 2 months ago
Pipfile.lock 07a670a76e dev env: update dependencies 2 months ago
README.md f097861aac readme: added last release badge 1 year ago
mypy.ini a28bb585b6 github workflow: run mypy 7 months ago
setup.py 0bef894769 added python3.8 build 1 year 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