Skip to content
/ teeoe Public

Run a script and redirect stderr and stdout to log files

Notifications You must be signed in to change notification settings

Ganthark/teeoe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

teeoe

Launch a script and redirect stderr and stdout to log files while still showing them in the terminal.
Any script with any number of parameters can be launched, stderr will be redirected to err.log (or specified path with -e) and stdout will be redirected to out.log (or specified path with -o). All output will still show on terminal.

Usage:

./teeoe [OPTION] script or teeoe [OPTION] script
A script must be provided.

Options:

-e Filename for the stderr redirection (default: ./err.log)
-o Filename for the stdout redirection (default: ./out.log)

Installation

You can directly copy the teeoe file to your bin folder to execute it from anywhere or execute it direcly with ./teeoe or bash teeoe.

About

Run a script and redirect stderr and stdout to log files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages