3 # Author: Paul D. Eden <paul@benchline.org>
4 # Distributed under the terms of the Gnu public license version 2
5 # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
7 # Simple script to keep track of my mindmaps
8 # stores to a local git repo and syncs with Amazon S3
14 subprocess
.check_call(cmd
, shell
=True)
17 ret
= subprocess
.call(cmd
, shell
=True)
20 def update_mindmaps(sync_w_s3
=True):
21 os
.chdir("/home/paul/Desktop/mm")
25 run("s3cmd sync . s3://pe_mindmaps")
27 if __name__
== "__main__":