Keine Beschreibung

Fabian Peter Hammerle b6e8a04cd8 env: remove black's dependencies for python<3.6 to restore python3.4 compatibility vor 3 Jahren
.github 44be415908 github workflow: report test coverage vor 3 Jahren
free_disk 498d5abc78 black format vor 4 Jahren
tests 498d5abc78 black format vor 4 Jahren
.gitignore dbcdf64ac2 env: downgrade zipp to restore compatibility with python3.4 & python3.5 vor 4 Jahren
.pylintrc 2dc9238adc pylint: enable import requirements plugin vor 4 Jahren
.travis.yml 3904b3fd5b travis pipeline: downgrade pipenv to restore compatibility with python3.4 vor 3 Jahren
CHANGELOG.md c49e302582 release v0.2.1 vor 4 Jahren
LICENSE 576cd0c9fa MIT license vor 5 Jahren
Pipfile b6e8a04cd8 env: remove black's dependencies for python<3.6 to restore python3.4 compatibility vor 3 Jahren
Pipfile.lock b6e8a04cd8 env: remove black's dependencies for python<3.6 to restore python3.4 compatibility vor 3 Jahren
README.md f097861aac readme: added last release badge vor 4 Jahren
setup.py 0bef894769 added python3.8 build vor 4 Jahren

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