Sem descrição

Fabian Peter Hammerle 598ecbc916 travis-ci: upgrade pipenv to fix failing `pipenv sync` with python3.4 há 5 anos atrás
free_disk bd69bde768 add missing timezone identifier to summary há 5 anos atrás
tests 1ee810877f arg `--free-bytes`: support human-readable formats like '2TB' or '2GiB' há 5 anos atrás
.pylintrc f97bc6a304 pylint: disable missing-docstring há 5 anos atrás
.travis.yml 598ecbc916 travis-ci: upgrade pipenv to fix failing `pipenv sync` with python3.4 há 5 anos atrás
LICENSE 576cd0c9fa MIT license há 5 anos atrás
Pipfile 1ee810877f arg `--free-bytes`: support human-readable formats like '2TB' or '2GiB' há 5 anos atrás
Pipfile.lock 1ee810877f arg `--free-bytes`: support human-readable formats like '2TB' or '2GiB' há 5 anos atrás
README.md aaf1f43841 readme headline: added disk emoji há 5 anos atrás
setup.py 7abf9af333 setup.py: added description (module docstring) há 5 anos atrás

README.md

free-disk 💾

Build Status

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