#!/usr/bin/env bash dest=${WEB}/oper.io.services/crux-nullspoon-web # Copy files from working cache to destination rsync -a \ --delete \ --no-group \ --no-perms \ --omit-dir-times \ --exclude hooks \ --exclude '.git*' \ ./ ${dest}/ || true printf '[git] Updating %s\n' ${FILES_M[@]:-nothing} printf '[git] Removing %s\n' ${FILES_D[@]:-nothing} # Regen repo httpup files httpup-repgen "${dest}"