~smlavine/navipage

dc188539918b6011d2f46f584fc42a2320d8ce08 — Sebastian LaVine 7 months ago 30aadeb
Split up $server into $user and $server in the $NAVIPAGE_SH example
1 files changed, 4 insertions(+), 3 deletions(-)

M navipage.1
M navipage.1 => navipage.1 +4 -3
@@ 124,10 124,11 @@ Execute a command with sh.
# videos every morning by an email, which is easier to send when ran on the
# server where the email is hosted.

server="user@example.notreal"
serverdir="backups"
user='omnavi'
server='example.notreal'
serverdir='backups'

rsync -av "${server}:${serverdir}/" "$NAVIPAGE_DIR"
rsync -av "${user}@${server}:${serverdir}/" "$NAVIPAGE_DIR"
.EE
.SH INSPIRATION
My original plan with