-----BEGIN PGP SIGNED MESSAGE----- On 13 May 1999, Robin Bowes wrote: > > >Before I do a bit of coding, has anyone written a script to identify the > > >most recent log file and tail it, preferably switching files when the > > >log file turns over? > > Jeff Hayward's taildir does what you want. It's small, and I don't > > have a URL, so I've attached a copy. > Bingo! I was sure I wouldn't be the only person needing to do this. What's wrong with something like: tail -f `ls -rt | tail -1` The only thing I wish tail would do is multi-tail... mtail... tail -multi, tail file file file... etc. Scott -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCVAwUBNzrQgB4PLs9vCOqdAQGoxgP+N6R9DwznYrQ+ht2RD9WpMxiqkXUqf8ke DD/J+J/Qbgs3tLK7ncI5ttNwedseJn46ubep30PxsGdYnW20yTrtJJVVR9/iJUEo xuSLaa/idnDeC3xElHjpxAomgS8GJGpP4ZaxL0hGB+hIDB9xQjwLO/ubE8lk0Jul BCxIGrIyXr8= =VN2G -----END PGP SIGNATURE-----
- Re: taildir won't compile... Marlon Anthony Abao
- Re: taildir won't compile... Troy Morrison
- Re: taildir won't compile... Scott D. Yelich
- Re: taildir won't compile... Robin Bowes
- Re: taildir won't compile... Scott D. Yelich
- Re: taildir won't compile... Jeff Hayward
- Re: taildir won't compile... Dave Sill
- Re: taildir won't compile... Scott D. Yelich
- Re: taildir won't compile... Jeff Hayward
- Re: script to tail latest logfile in a directory? Robin Bowes
- Re: script to tail latest logfile in a directory? Scott D. Yelich
- Re: script to tail latest logfile in a direct... Dave Sill
- Re: script to tail latest logfile in a di... Scott D. Yelich
- Re: script to tail latest logfile in ... Jeff Hayward
- Re: script to tail latest logfile in ... Dave Sill
- Re: script to tail latest logfile in a direct... Robin Bowes
- Re: script to tail latest logfile in a di... Scott D. Yelich
- Re: script to tail latest logfile in ... Robin Bowes
- Re: script to tail latest logfil... Adam D. McKenna
- Re: script to tail latest logfil... Scott D. Yelich
- Re: script to tail latest logfil... Adam D. McKenna
