Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Cecylia Bocovich
gettor
Commits
f4fc5a49
Commit
f4fc5a49
authored
Aug 29, 2019
by
Hiro
🏄
Browse files
Add scripts to export stats and edit gitignore
parent
bf233f90
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
f4fc5a49
...
...
@@ -4,4 +4,5 @@ __pycache__
log
gettor.db
_trial_temp
gettor.pid
csv
scripts/export_stats
0 → 100644
View file @
f4fc5a49
#!/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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment