#!/bin/bash
# /usr/local/bin/synclocaldoc
# http://crystalfaeries.net/posix/bin/synclocaldoc
# celeste:crystalfaery 2015-02-19 20:41:18+00:00
# Starting Up:
echo "`now` ======= $0 ======= $1 ======="
echo "`/usr/local/bin/now` ======= $0 ======= $1 =======" && exitval=0 || exitval=$?
rsync -auvzH --exclude=doc/avlinux /usr/local/doc \
$(/usr/local/bin/my_twin):/usr/local
rsync -auvzH --exclude=doc/avlinux $(/usr/local/bin/my_twin):/usr/local/doc \
/usr/local
# Shutting Down:
echo "`/usr/local/bin/now` ------- $0 ------- $1 -------" && exitval=0 || exitval=$?
echo "`now` ------- $0 ------- $1 -------"
syntax highlighted by Code2HTML, v. 0.9.1