بدون توضیح

Fabian Peter Hammerle 690bf1a5df move specification of build dependency on setuptools-scm from setup.py to pyproject.toml 8 ساعت پیش
.github bb3469826e pipeline: upgrade runner from ubuntu v20.04 to v24.04 3 هفته پیش
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 4 ماه پیش
CHANGELOG.md ff1c7600ee drop compatibility with python3.8 4 ماه پیش
LICENSE 576cd0c9fa MIT license 6 سال پیش
Pipfile ff1c7600ee drop compatibility with python3.8 4 ماه پیش
Pipfile.lock 84c8a4dae0 build(deps-dev): bump pytest-cov from 6.0.0 to 6.1.1 (#213) 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 8 ساعت پیش
setup.py 690bf1a5df move specification of build dependency on setuptools-scm from setup.py to pyproject.toml 8 ساعت پیش

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