Created
December 17, 2015 16:40
-
-
Save stickystyle/eae6a371f6857de82040 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
datestr=`date +'%Y-%m-%d'` | |
filename="$datestr.json" | |
pouchdb-dump http://couchdb:5984/tenants-103 -o www/appdata/$filename |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment