find command seems to lock files
Mon Aug 19 12:49:00 GMT 2019
I have an application which constantly:
creates a file
do some processing
deletes the file
One way to monitor if the application has crashed, is to check the age of
the file, so I made a script that:
find //$server/d$/dir/subdir*/subsubdir -name 'thefile' -printf '%A+\n'
subdir* will be subdir1 subdir2 ...
under subsubdir there will be dirA, dirB, ... and under those, thefile may
Problem is that it seems this command locks thefile, as the application
sometimes can't delete it.
Could this be true?
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin