How to close all files from specified folder without permanent disconecting
workstations which keep them opened?

I need it for regular upgrade of some application files on many servers. I
try to do this by RSync script. It starts at midnight but can't overwrite
opened files. I'm sure that people are at home and nobody work in the
aplication at the time. Most of them go home and usually lock they
workstations without closing the application.

Thx4any suggestions,