Nessuna descrizione

dependabot[bot] 559c33b80e build(deps): bump actions/checkout from 3 to 4 (#131) 1 anno fa
.github 559c33b80e build(deps): bump actions/checkout from 3 to 4 (#131) 1 anno fa
free_disk 4ebe0aa97f drop compatibility with python3.7 (reached end of life on 2023-06-27) 1 anno fa
tests 17d8a1590f pylint: enable various optional checks/extensions 2 anni fa
.gitignore dbcdf64ac2 env: downgrade zipp to restore compatibility with python3.4 & python3.5 4 anni fa
.pylintrc 17d8a1590f pylint: enable various optional checks/extensions 2 anni fa
CHANGELOG.md 4ebe0aa97f drop compatibility with python3.7 (reached end of life on 2023-06-27) 1 anno fa
LICENSE 576cd0c9fa MIT license 5 anni fa
Pipfile 405507c8cf dev env: re-add "dill" to fix pipeline 1 anno fa
Pipfile.lock 0a4bcd40db build(deps-dev): bump pytest from 7.4.0 to 7.4.2 (#132) 1 anno fa
README.md e5821e5159 rename param `--delete-re` to `--delete-path-regex` (to avoid ambiguity) 2 anni fa
mypy.ini 28839ae92a add additional (internal) type hints to enable mypy's strict mode 3 anni fa
setup.py 4ebe0aa97f drop compatibility with python3.7 (reached end of life on 2023-06-27) 1 anno fa

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 --free-bytes 1GiB --delete-path-regex '\.mp4$' /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