all repos — site @ 6a12fbaa3b3e26d81e862a9875f52736190c1c15

source for my site, found at icyphox.sh

bin/reup.sh (view raw)

 1#!/usr/bin/env bash
 2
 3export NO_CP=1
 4for img in static/img/*; do
 5    printf "uploading... $img: "
 6    u="$(~/bin/up $img)"
 7    printf "$u\n"
 8    new="![]("$u")"
 9    old="$img"
10    printf "replacing $old with $new... "
11    bin/replace "$old" "$new"
12    printf "done\n"
13done