delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/02/13/12:06:01

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:subject:references:to:reply-to:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=wMOjUhm8ozvE9XVb
UQFPnaPHakMsiJLCnUYqVlkEXMhaE9MTiGOdytGtK927t6IXRgGEg+ZX+prszFeA
f/NVRyY9eVjE9a7qzUNgS+ukA2poe0yaOgQYQ/sOYRZVWVr6CILtGB/8X9CMPXV7
xesVH9eFx4/EJZjNi9BYiIBnmjU=
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:subject:references:to:reply-to:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=DJ7JMRWOYmFD/u8CrLDKdP
bbOKs=; b=sS/whAyUzK52koWr9qC5LOUBovU3Kqs/+qvHnOKAfXU4xYp+jjx2f1
A7Q4ZZILTIavbiSsd7CjBQekI5hkf0lef+nKpvS3MWQ8R6HzbvhHEZ4hztjfqUKj
+tlzCXLgOzFdaiE+1zob5ehRKCwigHBX3VH+g64pTsWkWHxO9oY7A=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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-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
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: <CAABYpSg8TeLQaPdrx8q2ooQwTmYdth1bcq5am7F8dN8t0+rdwA AT mail DOT gmail DOT com> <i3i3ac15aorf3216nl6mgtd6p97gfaqiu6 AT 4ax DOT com>
To: cygwin AT cygwin DOT com
Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Message-ID: <f68f3cbf-0a2d-cc52-7004-54ac37716347@SystematicSw.ab.ca>
Date: Mon, 13 Feb 2017 10:05:34 -0700
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: <i3i3ac15aorf3216nl6mgtd6p97gfaqiu6@4ax.com>
X-CMAE-Envelope: MS4wfAvUKx+r1RIoKTHXJB7UTLJdmL1sH6IYCVvicRoITCablkG9ry//Y6mcJypcaYJtJLYZ0vv/Uct/k/I54TCSU0d7rigZi/B7fuQYGXnelnXS14XrQOQk L4TtkzFZXfn6OY6WE7VA5aENjXw6gykJPGhMzBesMp9BQuLlySnn7bEAYoCByakRwGx4CjpBJcmGeg==
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019