1
0
mirror of https://github.com/imapsync/imapsync.git synced 2024-11-17 00:02:29 +01:00
imapsync/W/gts/imapsync_github_stats

21 lines
377 B
Plaintext
Raw Normal View History

2018-05-07 16:04:23 +02:00
#!/bin/sh
2019-07-03 01:17:46 +02:00
# $Id: imapsync_github_stats,v 1.3 2018/08/28 12:28:53 gilles Exp gilles $
2018-05-07 16:04:23 +02:00
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/