Sen descrición

Fabian Peter Hammerle 76a27ab821 pylint-import-requirements: switch to branch restoring compatibility with python3.4 %!s(int64=4) %!d(string=hai) anos
.github 6e6c1b65fe pipeline/python3.8: upgrade astroid to fix KeyError %!s(int64=4) %!d(string=hai) anos
free_disk 498d5abc78 black format %!s(int64=4) %!d(string=hai) anos
tests 498d5abc78 black format %!s(int64=4) %!d(string=hai) anos
.gitignore dbcdf64ac2 env: downgrade zipp to restore compatibility with python3.4 & python3.5 %!s(int64=4) %!d(string=hai) anos
.pylintrc 2dc9238adc pylint: enable import requirements plugin %!s(int64=4) %!d(string=hai) anos
.travis.yml 6e6c1b65fe pipeline/python3.8: upgrade astroid to fix KeyError %!s(int64=4) %!d(string=hai) anos
CHANGELOG.md c49e302582 release v0.2.1 %!s(int64=4) %!d(string=hai) anos
LICENSE 576cd0c9fa MIT license %!s(int64=5) %!d(string=hai) anos
Pipfile 76a27ab821 pylint-import-requirements: switch to branch restoring compatibility with python3.4 %!s(int64=4) %!d(string=hai) anos
Pipfile.lock 76a27ab821 pylint-import-requirements: switch to branch restoring compatibility with python3.4 %!s(int64=4) %!d(string=hai) anos
README.md f097861aac readme: added last release badge %!s(int64=4) %!d(string=hai) anos
setup.py 0bef894769 added python3.8 build %!s(int64=4) %!d(string=hai) anos

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