Skip to main content

delete file with oldest modification date until a minimum of --free-bytes are available on disk

Project description

free-disk 💾

Code style: black 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.


pip3 install --user --upgrade free-disk


free-disk --help
free-disk --free-bytes 1GiB /dir/to/cleanup
free-disk --debug --free-bytes 2GB /dir/to/cleanup


pip3 install --user pipenv
git clone
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.

Files for free-disk, version 0.2.2
Filename, size File type Python version Upload date Hashes
Filename, size free_disk-0.2.2-py3-none-any.whl (4.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size free-disk-0.2.2.tar.gz (17.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page