Support syncing directory and add --dir option.
Support syncing directory and add --dir option.

matsumoto-r/synciga,matsumoto-r/synciga,matsumoto-r/synciga,matsumoto-r/synciga,matsumoto-r/synciga,matsumoto-r/synciga,matsumoto-r/synciga,matsumoto-r/synciga,matsumoto-r/synciga