Thursday, October 27, 2011

substanziell - Backup your document. is a nice document authoring and publishing for the web - but sometimes it has it hickups and you can loose parts of your document. No good, but - hey - let's make backups.
After exporting your cookies (using some Export cookies Firefox add-on), you can use the following while-loop to backup your progress regularly into a a clean git repository.
while true ; 
do \
  curl -O -b cookies.txt \$USERNAME/$DOCUMENTNAME.latex ; \
  git commit -asm"Auto-save." ; \
  sleep 60 ; \
And thanks to _mql for getting back some lost lines.

No comments:

Post a Comment