Няма описание

dependabot[bot] 88671407a4 build(deps-dev): bump pylint from 3.3.7 to 3.3.8 (#222) преди 1 ден
.github ee4fa59b2e build(deps): bump actions/checkout from 4 to 5 (#223) преди 1 ден
free_disk b1302c5413 mypy: remove unused "type: ignore" comment преди 1 година
tests 17d8a1590f pylint: enable various optional checks/extensions преди 3 години
.gitignore dbcdf64ac2 env: downgrade zipp to restore compatibility with python3.4 & python3.5 преди 5 години
.pylintrc ff1c7600ee drop compatibility with python3.8 преди 7 месеца
CHANGELOG.md ff1c7600ee drop compatibility with python3.8 преди 7 месеца
LICENSE 576cd0c9fa MIT license преди 6 години
Pipfile ff1c7600ee drop compatibility with python3.8 преди 7 месеца
Pipfile.lock 88671407a4 build(deps-dev): bump pylint from 3.3.7 to 3.3.8 (#222) преди 1 ден
README.md e5821e5159 rename param `--delete-re` to `--delete-path-regex` (to avoid ambiguity) преди 3 години
mypy.ini 28839ae92a add additional (internal) type hints to enable mypy's strict mode преди 3 години
pyproject.toml 690bf1a5df move specification of build dependency on setuptools-scm from setup.py to pyproject.toml преди 2 месеца
setup.py 690bf1a5df move specification of build dependency on setuptools-scm from setup.py to pyproject.toml преди 2 месеца

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