Skip to content

A small bash script to tail directories with multiple files, even before those exist

License

Notifications You must be signed in to change notification settings

itamarla/bash_multi_tailer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

bash_multi_tailer

A small bash script to tail directories with multiple files, even before those exist

It's a fun script that makes bash do crazy things like threads and traps.

How can one enjoy it? well, if you don't have something like xtail and you want to monitor a log directory and tail it's files content. you can start the script with the directory's location as parameter (The directory needs not exist in the time of execution) and any new file that sprouts in it will be tailed to screen.

You can also add a prefix of the file name. this way only files with a specific prefix would be tailed.

Enjoy!

About

A small bash script to tail directories with multiple files, even before those exist

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages