timegaps icon indicating copy to clipboard operation
timegaps copied to clipboard

Accept or reject items based on age categorization (command line program, runs on Python 2/3, Unix, and Windows).

Results 7 timegaps issues
Sort by recently updated
recently updated
newest added

related with issue https://github.com/jgehrcke/timegaps/issues/4 also updated some test for newer python and modules for tests

Okay so a number of years ago we switched from "keep youngest item per category" (first release of timegaps im 2014) to "keep oldest item per category (in `master` branch...

crontab: ``` @hourly pg_dump -Fc > backup/db-$(date -Isecond).dump; timegaps --delete hours24,days7,weeks4,months6 backup/*.dump ``` This immediately deletes the files created a millisecond before. The directory `backup` will be empty for ever....

I'm generating backups every 5 minutes. Using the following command: ``` timegaps -d recent12,hours24,days7,weeks4,months3 *.Fc ``` I am seeing a rolling set of 13 files. Timegaps doesn't seem to be...

Usecase - productive ZFS server makes snapshots via cronjob every 0 and 30 minutes after the hour and only once a day these snapshots are transfered offsite to another server...

I like the idea of a stand-alone tool to decide about file deletion. But the rules can be more flexible. Currently the rule "days20" would keep one per day for...

When using the **--time-from-string** parameter and not all input lines are in the expected match format timegaps exits with error > ERROR: Error while parsing time from item string. Error:...