https://github.com/euank/znc-timewarp
Let's do the time warp again
https://github.com/euank/znc-timewarp
Last synced: over 1 year ago
JSON representation
Let's do the time warp again
- Host: GitHub
- URL: https://github.com/euank/znc-timewarp
- Owner: euank
- License: unlicense
- Created: 2014-02-27T00:05:27.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-03-04T00:53:36.000Z (over 12 years ago)
- Last Synced: 2025-01-24T17:19:26.150Z (over 1 year ago)
- Language: Ruby
- Size: 152 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
znc-timewarp
============
Let's do the time warp again
### What does it do?
This program alters a batch of znc logs forwards or backwards in time.
e.g. if you have some logs that you know are 5 minutes ahead, you could do
`ruby timewarp.rb -300 outdir/ user_network\#channel_*.log`
and it would move the logs back 300 seconds in time.
Public domain because I sure don't want to own this solely
### Problems
Known issues with timewarp are that it doesn't handle notices / join/part info
correctly. This is a problem with the log-parsing library I used (with how I
used it too).
timeshift.rb does everything correctly as far as I know. Its usage is a little
different because you give it an out template instead of an outdir e.g.
`outdir/user_network\#channel_`, but it's otherwise the same.