aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xupdate.sh4
-rwxr-xr-xupdate_all.sh6
2 files changed, 8 insertions, 2 deletions
diff --git a/update.sh b/update.sh
index 668e415..2a48de2 100755
--- a/update.sh
+++ b/update.sh
@@ -2,5 +2,5 @@
set -x
-instaloader --fast-update --no-compress-json extraordinaryleastsquares
-ls extraordinaryleastsquares/2020-0*.json | parallel -j1 ./reupload.py {}
+pipenv run instaloader --fast-update --no-compress-json extraordinaryleastsquares
+ls extraordinaryleastsquares/202*.json | tac | head -n15 | parallel -j1 pipenv run ./reupload.py {}
diff --git a/update_all.sh b/update_all.sh
new file mode 100755
index 0000000..c19ccc9
--- /dev/null
+++ b/update_all.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+set -x
+
+pipenv run 0nstaloader --fast-update --no-compress-json extraordinaryleastsquares
+ls extraordinaryleastsquares/20*.json | parallel -j1 pipenv run ./reupload.py {}