Use rsync only if directory exists
Use env_xxx dotfiles