Keep local (and/or remote) directories in sync