rulesorganizer.py 297 B

123456789101112131415161718192021
  1. #!/usr/bin/python
  2. class filerules():
  3. import sys, os
  4. import json
  5. import re
  6. def __init__(self, rulesfile):
  7. ...
  8. def looprules(self):
  9. ...
  10. def runrule(self, rule):
  11. ...
  12. def addrule(self, name, directory, action):
  13. ...
  14. def move(self, rule):
  15. ...