|
|
%!s(int64=3) %!d(string=hai) anos | |
|---|---|---|
| .github | %!s(int64=3) %!d(string=hai) anos | |
| free_disk | %!s(int64=3) %!d(string=hai) anos | |
| tests | %!s(int64=3) %!d(string=hai) anos | |
| .gitignore | %!s(int64=5) %!d(string=hai) anos | |
| .pylintrc | %!s(int64=3) %!d(string=hai) anos | |
| CHANGELOG.md | %!s(int64=3) %!d(string=hai) anos | |
| LICENSE | %!s(int64=6) %!d(string=hai) anos | |
| Pipfile | %!s(int64=3) %!d(string=hai) anos | |
| Pipfile.lock | %!s(int64=3) %!d(string=hai) anos | |
| README.md | %!s(int64=3) %!d(string=hai) anos | |
| mypy.ini | %!s(int64=3) %!d(string=hai) anos | |
| setup.py | %!s(int64=3) %!d(string=hai) anos |
Delete file with the oldest modification date
until a minimum of --free-bytes are available on the respective disk.
pip3 install --user --upgrade free-disk
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
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