This file contains hidden or 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 | |
| BACKUP_DATE=`date +%Y-%m-%d_%H-%M-%S` | |
| BACKUP_DIR="~/PEAK/BACKUPS/$BACKUP_DATE" | |
| mkdir -p "$BACKUP_DIR" | |
| cd "$BACKUP_DIR" | |
| sudo adb pull /data/local/storage/persistent/ |
This file contains hidden or 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
| #!/usr/bin/perl -w | |
| # Prints out the the most recent numbers for each status from: | |
| # http://bugs.koha-community.org/cgi-bin/progress.pl?type=json | |
| # | |
| # Meant to be run hourly from cron during Global Bug Squashing Days: | |
| # @hourly perl /path/to/kohastatus.pl >> /path/to/hourlynumbers.txt | |
| # | |
| # Based on http://beerpla.net/2008/03/27/parsing-json-in-perl-by-example-southparkstudioscom-south-park-episodes/ |