Sin descripción

Fabian Peter Hammerle 0bef894769 added python3.8 build hace 4 años
.github 0bef894769 added python3.8 build hace 4 años
free_disk 498d5abc78 black format hace 4 años
tests 498d5abc78 black format hace 4 años
.gitignore c10a95aedd gitignore hace 4 años
.pylintrc f97bc6a304 pylint: disable missing-docstring hace 5 años
.travis.yml 0bef894769 added python3.8 build hace 4 años
CHANGELOG.md 3a0ebf4864 use readme as long description hace 4 años
LICENSE 576cd0c9fa MIT license hace 5 años
Pipfile 1ee810877f arg `--free-bytes`: support human-readable formats like '2TB' or '2GiB' hace 5 años
Pipfile.lock 1ee810877f arg `--free-bytes`: support human-readable formats like '2TB' or '2GiB' hace 5 años
README.md f097861aac readme: added last release badge hace 4 años
setup.py 0bef894769 added python3.8 build hace 4 años

README.md

free-disk 💾

Build 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