ccollicutt / archive-manager

Manage files in backup directories
Other
2 stars 0 forks source link

Write a custom DSL for backups #18

Open ccollicutt opened 5 years ago

ccollicutt commented 5 years ago

Right now archive manager only does two things:

  1. Manage the size of a directory
  2. Keep minimum/maxium files

And it does it in that order. If there was a DSL then users could specify what requirements and order to put them in.

ccollicutt commented 5 years ago

Or allow config file to order functions, use getattr:

https://stackoverflow.com/questions/44114173/python-call-a-set-of-functions-specified-in-a-configuration-file