X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type; q=dns; s=default; b=uQdp3fr6h5XOd7oq5Hu3bGExJ07fF wypoTBrISootp20Y51PXN6lnlzv0mrfTNvr0SmTwgoRp4yeeQ0I6G3yrKxKXeNMm H0BRrV+cwGaKWkJ9v5jJuo4iaSyXSo2tLMJjhtguSDSPoFCDhVNGJXMnJLoSHTdP AYSZK8GweYi3WQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type; s=default; bh=qEVUmZ+9tss5wVa8y3q5ZpmtbXo=; b=OBS ZYMyT6TtTae8y96nnfcyuEouE5ekfBw1iAkQfVOww0WdNjN/yMEGTeTc8k4pMAIe oLNvnZqXMkZU5TsMEP6C3ATcCGQtQEvlfx8YXlvHseNvQyjaogXBgem6rfuLd8hC CLXgezhGGPPdAIz7BPaiBA4RcFOmWX5wqvgrrkNk= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=1.2 required=5.0 tests=AWL,BAYES_40,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=constantly, deletes, HX-HELO:sk:mail-qk, monitor X-HELO: mail-qk1-f178.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=FMkypkVnDfCZxaBHRWIIrTeTcfbUyhkPf43koJZbH4o=; b=QICBMN92Q07jMUIYSPjQAHUwncAVDFZksomvqkmFp1TiQx46347fnS8B6S55WDVHKj hFBGpAJLukFV1rMNB9+LY5LLlMMKz+iBJ0rihjOVLgTQrOmVQRB0FEVUJNTiIThQKdyU YWtmRckvjthrXS6vWxWUpUExmITDp3vYPOlv7/IqZOHnZqDKoqRakDw5Eomq1MBMDiEs A+ZQx/Fr8Y3MPlT0EokbvrKIQN8R7LY6Haa4vFfC4+xBSgT1Uq3HFeP+6Yiee5WKbUjF 3oBEkKk+nLWFODHahhuS7LZlfDDPjimNG3H/U2khZF6u1Dn46/dnR1M4BFpzGxq8SMmq M9LQ== MIME-Version: 1.0 From: =?UTF-8?Q?Morten_Kj=C3=A6rulff?= Date: Mon, 19 Aug 2019 14:33:46 +0200 Message-ID: Subject: find command seems to lock files To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes Hi, 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 exist. Problem is that it seems this command locks thefile, as the application sometimes can't delete it. Could this be true? /Morten -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple