From f706de847c3f07a8a620eff6c3901c12ffb53014 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Sat, 25 Apr 2020 14:01:48 -0700 Subject: refine update scripts --- update.sh | 4 ++-- update_all.sh | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100755 update_all.sh 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 {} -- cgit v1.2.3