Get and manage snapshot for samba file sharing

How to get the script directory, this method is good. update 8 Sep 2018.

Get a snapshot by the output of rsync. This way is enough for my practical use.

lsyncd でサーバー間ファイル同期してみるメモ / synchronize files between servers with lsyncd