# vim: set syntax=yaml tabstop=2 shiftwidth=2 softtabstop=2 expandtab : # upload block is self-documenting mostly. # upload->pubdomain is the domain/common URL portion of the resulting URL generated by uploading # upload->remotepath is where files will be uploaded to # upload->retry is boolean, set to 0 to disable upload retrying. upload: server: port: user: sshkeypath: pubdomain: pubssl: 0 remotepath: /usr/local/www retry: 1 # monitor block would hopefully be somewhat self-documenting. # format for a monitor block entry is as follows: # monitor: # monitor_name: # dir: directory_to_monitor # poll: seconds to wait between each directory poll # ignoreseen: 0 or 1, if set to 1 then previously-seen files will not be processed # match: # regexp: regular expression to check files for # spotlight_meta: metadata tag to check for. this only checks that the tag is set and has content # action: # actions you do not wish to have triggered can safely be omitted, with the exception of `rename` # upload: 0 or 1 # move: 0 or 1 # if set to 1, also specify `target` # delete: 0 or 1 # file will be deleted upon any actions taken being completed # rename: 0, 1, prepend, append # 0 will not rename the file, 1 renames it entirely, prepend and append will add `filename` to the beginning or end, with a '_' before or after it. # target: destination_path # must be specified if `move` is set to 1 monitor: screenshots: dir: ./Desktop poll: 1 match: regexp: (?:^|\/)Screen Shot .*$ action: upload: 1 delete: 1 # general configuration, basically self-documenting general: filename: %Y-%m-%d_%H.%M.%S storelogs: 1 pidfile: logfile: errlogfile: notify: on: upload: 1 error: 0 macintalk: 1 osxnotify: 1