public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
To: cygwin@cygwin.com
Subject: Re: Package request: fswatch
Date: Mon, 13 Feb 2017 17:05:00 -0000	[thread overview]
Message-ID: <f68f3cbf-0a2d-cc52-7004-54ac37716347@SystematicSw.ab.ca> (raw)
In-Reply-To: <i3i3ac15aorf3216nl6mgtd6p97gfaqiu6@4ax.com>

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

  reply	other threads:[~2017-02-13 17:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-13  9:11 Gerald Burns
2017-02-13 15:03 ` Andrew Schulman
2017-02-13 17:05   ` Brian Inglis [this message]
2017-02-14  8:55     ` Vlado
     [not found] <CAABYpSiQVASBNiEUsJYgMx3WsYTDxYhbKi-XpjpFzU9qFVMEwg@mail.gmail.com>
2017-02-14  2:47 ` Brian Inglis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f68f3cbf-0a2d-cc52-7004-54ac37716347@SystematicSw.ab.ca \
    --to=brian.inglis@systematicsw.ab.ca \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).