Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Align disk cleaning with disk_species_clean.sh #276

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

alexbelgium
Copy link

@alexbelgium
Copy link
Author

Allow to have a single logic for deleting old files.

Old logic : "delete all files older than 90 days not in the exclude_files until reaching the right free space ; if not enough, purge PROCESSED folder (that was already removed from this fork)"
New logic : "delete files in order to free 10% of additional space with the following priorities : protect files that have less than 7 days, protect files in the exclude_files, and start deleting files with the lowest confidences with first the species with highest files".

This should allow to standardize disk clearance in a way that saveguards important files : species with less recordings, and recordings with higher confidence

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant