Mac/Linux compatible iOS Pythonista script to backup files to AWS S3
Backup and restore files from the working directory to an Amazon AWS S3 bucket. Supports both, iOS Pythonista and Desktop Linux/Mac OS.
When run within iOS Pythonista, a native ui allows action/command selection. Linux/Mac OS display is limited to the terminal/console.
I use this to share/sync code between my iPhone, iPad, and Mac laptop.
By default, the script backups the following locations:
~/Documents
directory.python s3sync.py [ACTION]
ACTION
: Optional, any of the commands displayed when the script is run.s3sync.conf
can be used to store configurations.s3sync.sample.conf
for a full list of options. JSON Schema is used for its schema documentation.s3sync.sample.conf
to the same directory as the s3sync.py
script and rename to s3sync.conf
s3sync.conf
.import urllib2; exec urllib2.urlopen('http://khl.io/s3sync-py').read()
python -c "import urllib2; exec urllib2.urlopen('http://khl.io/s3sync-py').read()"