Aucune description

Fabian Peter Hammerle 9f63d884aa add tests for `--delete-re` param il y a 2 ans
.github 921686796b add tests il y a 2 ans
free_disk 4df77ef79e add test for removal from subfolder il y a 2 ans
tests 9f63d884aa add tests for `--delete-re` param il y a 2 ans
.gitignore dbcdf64ac2 env: downgrade zipp to restore compatibility with python3.4 & python3.5 il y a 5 ans
.pylintrc a91afa30d8 drop compatibility with python3.5 il y a 3 ans
CHANGELOG.md aeeb53e114 drop compatibility with python3.6; test against python3.10 il y a 3 ans
LICENSE 576cd0c9fa MIT license il y a 6 ans
Pipfile 8cc5d8de6c test / dev env: upgrade black il y a 3 ans
Pipfile.lock de6b0ddba4 build(deps-dev): bump pylint from 2.13.7 to 2.13.8 il y a 2 ans
README.md 23101024da drop support for python3.4; upgrade dev env; disable travis il y a 4 ans
mypy.ini 28839ae92a add additional (internal) type hints to enable mypy's strict mode il y a 3 ans
setup.py aeeb53e114 drop compatibility with python3.6; test against python3.10 il y a 3 ans

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