On 19/11/2013 09:33, Dmitry Samersoff wrote: > Jaroslav, > > Use fuser command to wait until file being closed is better way to do it > > if fuser -s filename; then Busy; else Ready; fi > > -Dmitry > Do you know if this works on all platforms? -Alan