No Description

Fabian Peter Hammerle 3fa89783ea readme: added description 5 years ago
free_disk b7df0e0565 fix install: move module to subfolder to fix auto detection via setuptools.find_packages() 5 years ago
tests 1ee810877f arg `--free-bytes`: support human-readable formats like '2TB' or '2GiB' 5 years ago
.pylintrc f97bc6a304 pylint: disable missing-docstring 5 years ago
.travis.yml 1ee810877f arg `--free-bytes`: support human-readable formats like '2TB' or '2GiB' 5 years ago
LICENSE 576cd0c9fa MIT license 5 years ago
Pipfile 1ee810877f arg `--free-bytes`: support human-readable formats like '2TB' or '2GiB' 5 years ago
Pipfile.lock 1ee810877f arg `--free-bytes`: support human-readable formats like '2TB' or '2GiB' 5 years ago
README.md 02bf3af1e9 readme: added description 5 years ago
setup.py 7abf9af333 setup.py: added description (module docstring) 5 years ago

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