Synchronizing Files in Batch Mode

-ub

This option is like -u except that Source Insight quits after the files are updated. This allows you to put a command in a batch file to synchronize Source Insight projects.

Example:

insight3 –ub