From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 107669 invoked by alias); 13 Feb 2017 17:05:48 -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 107657 invoked by uid 89); 13 Feb 2017 17:05:47 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: Yes, score=6.0 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,SPAM_SUBJECT1 autolearn=no version=3.3.2 spammy=Hx-spam-relays-external:64.59.136.139, H*RU:64.59.136.139, H*r:sk:smtp-ou, schulman X-HELO: smtp-out-so.shaw.ca Received: from smtp-out-so.shaw.ca (HELO smtp-out-so.shaw.ca) (64.59.136.139) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 13 Feb 2017 17:05:37 +0000 Received: from [192.168.1.100] ([174.0.238.184]) by shaw.ca with SMTP id dK4Ece2Slsa1kdK4FcF5DN; Mon, 13 Feb 2017 10:05:36 -0700 X-Authority-Analysis: v=2.2 cv=W+NIbVek c=1 sm=1 tr=0 a=WqCeCkldcEjBO3QZneQsCg==:117 a=WqCeCkldcEjBO3QZneQsCg==:17 a=IkcTkHD0fZMA:10 a=NEAV23lmAAAA:8 a=ulRR0mW6GLjUxMqI41UA:9 a=QEXdDO2ut3YA:10 a=Bn2pgwyD2vrAyMmN8A2t:22 Subject: Re: Package request: fswatch References: To: cygwin@cygwin.com Reply-To: Brian.Inglis@SystematicSw.ab.ca From: Brian Inglis Message-ID: Date: Mon, 13 Feb 2017 17:05:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4wfAvUKx+r1RIoKTHXJB7UTLJdmL1sH6IYCVvicRoITCablkG9ry//Y6mcJypcaYJtJLYZ0vv/Uct/k/I54TCSU0d7rigZi/B7fuQYGXnelnXS14XrQOQk L4TtkzFZXfn6OY6WE7VA5aENjXw6gykJPGhMzBesMp9BQuLlySnn7bEAYoCByakRwGx4CjpBJcmGeg== X-IsSubscribed: yes X-SW-Source: 2017-02/txt/msg00171.txt.bz2 On 2017-02-13 08:02, Andrew Schulman wrote: >> It looks like back in Sept. of 2015 fswatch added Windows support: >> https://github.com/emcrisostomo/fswatch >> I wondered if anyone would like to take a stab at adding fswatch >> to cygwin (since I'm totally new to it). > Seems useful, and builds OOTB in Cygwin. It's limited in Windows in > that it will only (recursively) watch directories, not files, and > unfortunately the app doesn't warn you about that if you give it a > file path instead of a directory path - it just does nothing. Still > interesting. Duplicates xtail which is a well known sysadmin tool used to watch a bunch of logs or files at once and works on directories and files (apt is alias for apt-cyg): $ apt show xtail xtail sdesc: "Extended tail that also works on truncated files and directories" ldesc: "Watch the growth of files. It's like running a tail -f on a bunch of files at once. It notices if a file is truncated and starts from the beginning. You can specify both filenames and directories on the command line. If you specify a directory, it watches all the files in that directory. It will notice when new files are created (and start watching them) or when old files are deleted (and stop watching them)." category: Utils requires: cygwin version: 2.1-1 install: x86_64/release/xtail/xtail-2.1-1.tar.xz 31844 ... source: x86_64/release/xtail/xtail-2.1-1-src.tar.xz 97960 ... Windows console command openfiles /query /v shows open files. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada -- 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