Update a bunch of spreadsheets via command line

I’d like to be able to update a bunch of files using the command line. Is there a way to do so ? I can open the doc but then a window pops up, I would like to automatically answer yes.

Cheers,

Bob