aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-04-25 14:01:48 -0700
committerBryan Newbold <bnewbold@archive.org>2020-04-25 14:01:48 -0700
commitf706de847c3f07a8a620eff6c3901c12ffb53014 (patch)
tree6f5933952a7351c1e05eb1a5c8a501f47760f104
parentab04e670fda340ba6530f60524057bf1c6bfc202 (diff)
downloadels-instawiki-master.tar.gz
els-instawiki-master.zip
refine update scriptsHEADmaster
-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 {}