1
0
Fork 0
ejv2.cc/bigfiles
Ethan Marshall d177a087ea
Add bigfiles system
Adds a system which should allow us to avoid copying the same massive
files every time we want to update the site.

Improves siteupdate performance by an order of magnitude.
2024-09-20 11:44:18 +01:00

10 lines
309 B
Bash
Executable file

#!/bin/sh
#
# bigfiles - a system for getting big files to the server efficiently
# part of ejv2.cc -- by Ethan Marshall in 2024
REMOTEHOST="ejv2.cc" \
LOCALDIR=${LOCALDIR:-"big"} \
REMOTECACHE=${REMOTECACHE:-"/usr/share/bigfiles"} \
REMOTEDIR=${REMOTEDIR:-"/var/www/html"} \
./bigfiles.awk bigfiles.tsv