#!/bin/sh
sshfs -o workaround=rename username@sshserver:/path/html/wiki wiki-remote/
echo "Synchronising with sshserver"
unison /var/www/dokuwiki/data ./wiki-remote/data \
-fastcheck yes \
-ignore 'Path cache' \
-ignore 'Path locks'
Group items matching
in title, tags, annotations or urlHow to synchronize with SSH | Chunhao's Blog - 4 views
-
-
Modify it to fit your actual environment. Note that the argument of sshfs command “-o workaround=rename”, this prevents the “renaming problem“.
1 - 2 of 2
Showing 20▼ items per page