Use gzip to save a crap ton of disk space, closing #45

This commit is contained in:
Kai Hendry
2014-07-11 15:18:55 +08:00
parent 066e0bcf5c
commit db391ed349
3 changed files with 6 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ echo "<a href=\"http://$HTTP_HOST/u/$id\"><h1 class=\"alert alert-success\">Goto
echo "<a href=\"http://$id.$HTTP_HOST\"><h1 class=\"alert alert-success\">Goto http://$id.$HTTP_HOST to grep!</h1></a>";
}
symlink ("$id.txt", "tweets.txt");
symlink ("$id.txt.gz", "tweets.txt.gz");
echo `sed -e "s,TIMESTAMP,$(date)," ../../greptweet.appcache > greptweet.appcache`;
echo "<pre>";