Skip to main content

Home/ Linux/ Contents contributed and discussions participated by Josef Jezek

Contents contributed and discussions participated by Josef Jezek

Josef Jezek

How to synchronize with SSH | Chunhao's Blog - 4 views

  • #!/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'
  • Modify it to fit your actual environment. Note that the argument of sshfs command “-o workaround=rename”, this prevents the “renaming problem“.
1 - 3 of 3
Showing 20 items per page