User Tools

Site Tools


software:dailydata:archiveimap

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
software:dailydata:archiveimap [2019/09/19 01:53] rodolicosoftware:dailydata:archiveimap [2019/09/19 02:04] (current) rodolico
Line 40: Line 40:
  
 I am TRYING to get used to the whole "create a branch and work on things there" but I'm not very good at it. But, the code base is pretty stable, so there should not be too many changes. Currently (2019-09-19), you can not do the deleteEmptyFolders as the code breaks when it deletes the folder you're currently in (duh). I think I have that fixed, but for now, simply set it to 0. I am TRYING to get used to the whole "create a branch and work on things there" but I'm not very good at it. But, the code base is pretty stable, so there should not be too many changes. Currently (2019-09-19), you can not do the deleteEmptyFolders as the code breaks when it deletes the folder you're currently in (duh). I think I have that fixed, but for now, simply set it to 0.
 +
 +Check out the folder to whatever directory you want. The configuration file (archiveIMAP.yaml) needs to be in the same directory as the executable. That is hard coded, though we may make fix it later to look in /etc or /usr/local/etc if it turns out to be necessary.
 +
 +The config file is basic YAML. I love YAML, but I'm always scared of messing things up, so there is a sample .cfg file which contains a sample config file in Perl hash format. You can then run the filter //confToYAML.pl// with cfg file as input and a yaml will come as output, ie
 +<code bash>
 +./confToYAML.pl < archiveIMAP.cfg.sample > archiveIMAP.yaml
 +</code>
 +which will, obviously, overwrite archiveIMAP.yaml, so you might want to make a backup first. I'm lazy, so I put a bunch of shortcuts into the config file, so read the README and also the commented sample files.
 +
 +I'd recommend a test run first. Look in the README.
  
 There is some decent documentation, but I'm working on better. The README file has been the source of my sysadmin documentation so far, but I'll see if I can't at least copy it here for future reference. Current version as of 2019-08-22 is v2.1.0. There is some decent documentation, but I'm working on better. The README file has been the source of my sysadmin documentation so far, but I'll see if I can't at least copy it here for future reference. Current version as of 2019-08-22 is v2.1.0.
software/dailydata/archiveimap.1568876005.txt.gz · Last modified: 2019/09/19 01:53 by rodolico