Nav apraksta

dependabot[bot] c897d570f9 build(deps-dev): bump pylint from 3.2.7 to 3.3.1 4 dienas atpakaļ
.github 4e3a5269ec build(deps): bump actions/setup-python from 4 to 5 (#146) 11 mēneši atpakaļ
free_disk b1302c5413 mypy: remove unused "type: ignore" comment 11 mēneši atpakaļ
tests 17d8a1590f pylint: enable various optional checks/extensions 2 gadi atpakaļ
.gitignore dbcdf64ac2 env: downgrade zipp to restore compatibility with python3.4 & python3.5 4 gadi atpakaļ
.pylintrc 17d8a1590f pylint: enable various optional checks/extensions 2 gadi atpakaļ
CHANGELOG.md 4ebe0aa97f drop compatibility with python3.7 (reached end of life on 2023-06-27) 1 gadu atpakaļ
LICENSE 576cd0c9fa MIT license 5 gadi atpakaļ
Pipfile 8014ae2ce1 relock env with pipenv v2023.10.3 on python v3.11.2 (to remove sanitized-package entry, see commit below); remove pylint-import-requirements from pipeline (see commit below) 1 gadu atpakaļ
Pipfile.lock c897d570f9 build(deps-dev): bump pylint from 3.2.7 to 3.3.1 4 dienas atpakaļ
README.md e5821e5159 rename param `--delete-re` to `--delete-path-regex` (to avoid ambiguity) 2 gadi atpakaļ
mypy.ini 28839ae92a add additional (internal) type hints to enable mypy's strict mode 2 gadi atpakaļ
setup.py 4ebe0aa97f drop compatibility with python3.7 (reached end of life on 2023-06-27) 1 gadu atpakaļ

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