No Description

Fabian Peter Hammerle a91afa30d8 drop compatibility with python3.5 2 years ago
.github a91afa30d8 drop compatibility with python3.5 2 years ago
free_disk a91afa30d8 drop compatibility with python3.5 2 years ago
tests a8a5ed4ed3 made all constants and functions private (only console entry point should be called directly) 2 years ago
.gitignore dbcdf64ac2 env: downgrade zipp to restore compatibility with python3.4 & python3.5 4 years ago
.pylintrc a91afa30d8 drop compatibility with python3.5 2 years ago
CHANGELOG.md a91afa30d8 drop compatibility with python3.5 2 years ago
LICENSE 576cd0c9fa MIT license 4 years ago
Pipfile a91afa30d8 drop compatibility with python3.5 2 years ago
Pipfile.lock a91afa30d8 drop compatibility with python3.5 2 years ago
README.md 23101024da drop support for python3.4; upgrade dev env; disable travis 3 years ago
mypy.ini a28bb585b6 github workflow: run mypy 3 years ago
setup.py a91afa30d8 drop compatibility with python3.5 2 years ago

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