#!/bin/bash if ! [ -d ~/movie-local ] then echo "$0: ~/movie-local does not exist" 1>&2 exit 1 fi if ! [ -d /mymount/movie-ssh-read-write/Mission,\ The ] then echo "$0: ~/movie-ssh-read-write does not exist" 1>&2 exit 1 fi msync ~/movie-local/ /mymount/movie-ssh-read-write/