A simple tee
implementation for Microsoft Windows.
(image created by Sven, CC BY-SA 4.0)
tee for Windows
Copy standard input to output file(s), and also to standard output.
Usage:
gizmo.exe [...] | tee.exe [options] <file_1> ... <file_n>
Options:
-a --append Append to the existing file, instead of truncating
-b --buffer Enable write combining, i.e. buffer small chunks
-f --flush Flush output file after each write operation
-i --ignore Ignore the interrupt signal (SIGINT), e.g. CTRL+C
-d --delay Add a small delay after each read operation
Tee can be used as an intermediate buffer (i.e. without writing to a file) to greatly speed-up terminal output:
gizmo.exe [...] | tee.exe NUL
This is a "native" implementation of the tee
command that builds directly on top of the Win32 API.
It uses multi-threaded I/O and triple buffering for maximum throughput.
This application requires Windows Vista or later. All 32-Bit and 64-Bit editions, including ARM64, are supported.
Git mirrors for this project:
- https://github.com/dEajL3kA/tee-win32
- https://gitlab.com/deajl3ka1/tee-for-windows
- https://repo.or.cz/tee-win32.git
Copyright (c) 2023 “dEajL3kA” <Cumpoing79@web.de>
This work has been released under the MIT license. See LICENSE.txt for details!
Using T-junction icons created by Smashicons – Flaticon.