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 62531f58cd 1.920
2019-07-02 18:17:46 -05:00

21 lines
377 B
Bash
Executable File

#!/bin/sh
# $Id: imapsync_github_stats,v 1.3 2018/08/28 12:28:53 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/