summaryrefslogtreecommitdiff
path: root/scripts/sort_faves.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/sort_faves.sh')
-rwxr-xr-xscripts/sort_faves.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/sort_faves.sh b/scripts/sort_faves.sh
index eb28a39..3daad0b 100755
--- a/scripts/sort_faves.sh
+++ b/scripts/sort_faves.sh
@@ -12,9 +12,9 @@ echo "Get the top 50 faves for the Hall of Fame"
sort -t, -k3,3 -rn $1 | head -50 > faves/hall.csv
echo "Group faves by user for popular pages, total fave scores"
-sort -t, -k1,1 -r -k3,3 -n faves/counts_sorted.csv > faves/by_user.csv
+sort -t, -k1,1 -r -k3,3 -n $1 > faves/by_user.csv
echo "Group faves by date for daily tallies"
-sort -t, -k4,4 -r -k3,3 -n faves/counts_sorted.csv > faves/by_date.csv
+sort -t, -k4,4 -r -k3,3 -n $1 > faves/by_date.csv