Command line tool which synchronizes directories in C++