sync command is local and recursive