dirtail man page on Cygwin

Man page or keyword search:  
man Server   22533 pages
apropos Keyword Search (all sections)
Output format
Cygwin logo
[printable version]

DIRTAIL(1)	      User Contributed Perl Documentation	    DIRTAIL(1)

NAME
       dirtail - follow tail on all files in a directory

SYNOPSIS
       dirtail [-W] [-f min] [-r sec] [-p 'pat'] [dir ...]

DESCRIPTION
       For each operand that names a directory start following the tail on all
       files that has a modification time newer then min or that is being
       created since program start.

       -f min	How Fresh files should we start tailing at startup. (value in
       integer minutes, default is 10).

       -r sec	How often to Reread directory listing. (value in integer
       seconds, default is 5)

       -W	Don't Wrap lines

       -p 'pat' File name Pattern (default is *.log). Remember to quote globs.

       dir	directory to monitor (default is . ).

EXAMPLE
       dirtail

       dirtail -W -f 15 -r 10 -p '*.log'

       dirtail dir1 dir2 dir3

NOTICE
       Sometimes the clock of cygwin gets out of sync with windows system
       clock. The solution is to increase -r sec.

       Windows also has another weirdness. Sometimes the modification time
       stamps on files and directories stops getting updated (a performance
       tweek I guess). This also effectively stops dirtail from doing a proper
       job.  ( see
       http://social.technet.microsoft.com/Forums/en-US/winservergen/Thread/2B8BACA2-9C1B-4D80-80ED-87A3D6B1336F
       and
       http://blogs.technet.com/b/asiasupp/archive/2010/12/14/file-date-modified-property-are-not-updating-while-modifying-a-file-without-closing-it.aspx
       )

       By default dirtail usedes *.log as file matching pattern. This is
       because we don't want dump files to be displayed.

TODO
       dirtail is lacking support for files and directories containing spaces.

perl v5.10.0			  2011-10-10			    DIRTAIL(1)
[top]

List of man pages available for Cygwin

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net