Ethan Marshall
d177a087ea
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.
10 lines
309 B
Bash
Executable file
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
|