1
0
mirror of https://github.com/imapsync/imapsync.git synced 2024-11-17 08:12:48 +01:00
imapsync/W/gts/imapsync_github_stats
Nick Bebout 9a927be251 1.882
2018-05-07 09:04:23 -05:00

21 lines
377 B
Bash
Executable File

#!/bin/sh
# $Id: imapsync_github_stats,v 1.2 2018/04/02 18:49:59 gilles Exp gilles $
get_csv() {
(
cd csv || return
{ sleep 1; cat /g/var/pass/secret.gilles_github; } | gts gilleslamiral imapsync save_csv -o imapsync
sh ../merge-csv .
)
}
PATH=$PATH:/g/bin
cd /g/public_html/imapsync/W/gts/
get_csv
rsync -av . /g/public_html/imapsync_github/gts/