Commit f4fc5a49 authored by Hiro's avatar Hiro 🏄
Browse files

Add scripts to export stats and edit gitignore

parent bf233f90
......@@ -4,4 +4,5 @@ __pycache__
log
gettor.db
_trial_temp
gettor.pid
csv
#!/bin/bash
#
# This file is part of GetTor, a Tor Browser distribution system.
#
# :authors: hiro <hiro@torproject.org>
# see also AUTHORS file
#
# :copyright: (c) 2008-2019, The Tor Project, Inc.
#
# :license: This is Free Software. See LICENSE for license information.
cd ~/gettor
mkdir -p csv
sqlite3 -header -csv gettor.db "select * from stats;" > csv/$(date "+%Y-%m-%d").csv
./scripts/add_links_to_db -f gettor.db
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment