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