NATURALSELECTION(1)
π NATURALSELECTION(1) π
okay bestie, welcome to the User Commands section of the manual, and today's main character is naturalselection β a whole legend. it's a cache directory manager that keeps your cache dirs from eating the whole disk. slay. π
β¨ NAME β¨
naturalselection β keep cache directories below a specified threshold π
πΈ SYNOPSIS πΈ
naturalselection.py [options] cacheDirectory
π¦ DESCRIPTION π¦
it's a cache directory manager, no cap. it deletes cache entries based on accesstime and free space thresholds. and the lil fun fact: this utility is distributed alongside SabreDAV. iconic behavior, honestly.
π OPTIONS π
--versionβ shows the program's version number and then dips out (exits). β¨-h,--helpβ shows this help message and exits. your bestie when you're lost π«Ά-sβ does NOT actually make any changes, it just simulates the behaviour. a little dress rehearsal, a vibe check before the real thing. π-r RUNS,--runs=RUNSβ how many times to check before exiting.-1is infinite, and that's the default. so yeah, by default it's just gonna keep going forever, main character energy fr. βΎοΈ-n SLEEP,--interval=SLEEPβ sleep time in seconds (default =5). lil nap between checks π΄-l THRESHOLD,--threshold=THRESHOLDβ threshold in bytes (default =10737418240, which is10GB). that's the line, bestie β cross it and stuff starts getting deleted π₯-m MIN_ERASE,--min-erase=MIN_ERASEβ minimum number of bytes to erase when the threshold is reached. setting this option higher will reduce the amount of times the cache directory will need to be scanned. (the default is1073741824, which is1GB.) so bigger number = less scanning, more deleting at once. work smarter not harder π
β οΈ real talk: that -s flag is your friend. simulate first, because the non-simulated version is out here actually deleting cache entries. no undo button. periodt.
naturalselection v0.3 π November 2021 β and that's the whole page, bestie. go forth and keep those cache dirs under threshold, you absolute icon ππβ¨
π¦ where this page comes from
- debian bookworm: php-sabre-dav 1.8.12-10 Β· BSD-3-Clause
- ubuntu jammy: php-sabre-dav 1.8.12-10 Β· BSD-3-Clause
- ubuntu noble: php-sabre-dav 1.8.12-10 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms