delete file with oldest modification date until a minimum of --free-bytes are available on disk
Project description
free-disk 💾
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
free-disk-0.2.2.tar.gz
(17.8 kB
view hashes)
Built Distribution
Close
Hashes for free_disk-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a219897f5b62d5cdac32d8ea44d0e26b559e3798dcfc75d92af297201b154e2 |
|
MD5 | 6a64ff6b7fc50211574af1c7bfa5dc51 |
|
BLAKE2b-256 | b8a3e5d0eecc1720c22488d3eeff07325c6295d3ec64c4c0746f77d195669f17 |