|
From: | John Macdonald |
Subject: | feature request for tail program - allow directories in watch list for -f |
Date: | Thu, 28 May 2009 14:27:20 -0400 |
User-agent: | Thunderbird 2.0.0.21 (X11/20090318) |
The command: xtail -f diracts much like "xtail -f dir/*" except that it watches the directory and when a new file is created the new file is added to the list of files being followed.
This feature is extremely valuable when log files are rotated not by mv, but by simply opening the file with a timestamp as part of the name. (Web apps have to open the log file for each instance anyhow, for example.)
The original author of xtail recently wrote in a blog that I saw a few days ago that he no longer maintains xtail because GNU tail had all of the features from xtail - he was mistaken about the word "all". :-)
[Prev in Thread] | Current Thread | [Next in Thread] |