From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 128579 invoked by alias); 19 Aug 2019 18:52:53 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 128478 invoked by uid 89); 19 Aug 2019 18:52:53 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.1 spammy=day!, day, HContent-Transfer-Encoding:8bit X-HELO: eddie.starwolf.com Received: from eddie.starwolf.com (HELO eddie.starwolf.com) (69.12.250.42) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 19 Aug 2019 18:52:51 +0000 Received: from [192.168.40.66] (getinsured.com [4.16.195.116]) by eddie.starwolf.com (Postfix) with ESMTPSA id B815AB5 for ; Mon, 19 Aug 2019 11:52:49 -0700 (PDT) Subject: Re: find command seems to lock files To: cygwin@cygwin.com References: <20190819140308.GN11632@calimero.vinschen.de> <609c28ca-07da-f150-139b-267448ede826@cs.umass.edu> <20190819141321.GO11632@calimero.vinschen.de> <1621839017.20190819194256@yandex.ru> From: Greywolf Message-ID: <74bec425-38ca-e9db-38c9-8dd82df20844@starwolf.com> Date: Mon, 19 Aug 2019 19:43:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <1621839017.20190819194256@yandex.ru> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2019-08/txt/msg00290.txt.bz2 Greets, Andrey! > To begin with, the results of your `find` calls will be at least 5 seconds > stale over CIFS share with default settings. > Said that, you could safely write something like > > find /xx -type а -iname "zzz" -mtime +10s -execdir 'msg * "Achtung programme crash boom!"' Thank you for the kaffe spit-take. You just made my day! --*greywolf; -- 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