https://github.com/servak/teets
tee with timestamp
https://github.com/servak/teets
tee timestamp ts
Last synced: 5 months ago
JSON representation
tee with timestamp
- Host: GitHub
- URL: https://github.com/servak/teets
- Owner: servak
- License: mit
- Created: 2017-05-10T12:12:48.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-17T14:01:16.000Z (about 9 years ago)
- Last Synced: 2024-06-20T14:25:14.100Z (about 2 years ago)
- Topics: tee, timestamp, ts
- Language: Go
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
teets
=========
[](https://travis-ci.org/servak/teets)
Tee and Timestamp in Golang.
## Usage
```
> ./teets
Usage:
./teets [options] filepath
Options:
-a append flag
-f string
timestamp format. https://golang.org/src/time/format.go (default "15:04:05")
-o add timestamp in stdout
> echo foooo | ./teets aa.log
foooo
> cat aa.log
[22:57:38] foooo
[22:57:38]
```