Re: Tailing a directory listing

From: Tony Curtis (tony_curtis32_at__SPAMTRAP_yahoo.com)
Date: 01/14/04


Date: Tue, 13 Jan 2004 18:01:01 -0600


>> On Tue, 13 Jan 2004 23:52:31 +0000,
>> David Dorward <dorward@yahoo.com> said:

> Thomas R. Burkholder wrote:
>> If this is a FAQ I apologize. I would like to tail the
>> contents of a directory to follow the output of a program.
>> Is there a way to pipe the output of ls into tail?

> ls | tail

"Be careful what you wish for"

While David's answer is perfectly correct, I don't think it is
quite what the OP is looking for. Thomas, please give us a
small self-contained and functional example of a sample
directory and what you want to do with the files in there.

hth
t