<div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:small">I haven't had a chance to try this yet, but it sounds awesome. I've wanted some like this for a long time.</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div><br></div>Tim</div></div>
<br><div class="gmail_quote">On Mon, Dec 22, 2014 at 7:53 AM, John Marino <span dir="ltr"><<a href="mailto:dragonflybsd@marino.st" target="_blank">dragonflybsd@marino.st</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I've created a curses-based tool called "slider" that is user-friendly<br>
combination between "hammer history" and "undo".  If the given path<br>
doesn't exist but has history, an "undelete" attempt can be made.<br>
However, if the given path has multiple versions, each timestamp will be<br>
displayed and selectable via arrow keys.  If the origin file is text,<br>
any version can be "viewed" in pages, and a colorized diff between any<br>
two versions can be viewed.  It's easy to save any listed version as a<br>
new file or to restore the given path with any previous version.<br>
However doesn't handle deleted directories (yet).<br>
<br>
I created it because I found browsing through historical versions very<br>
cumbersome (dumping transactions IDs and manually viewing each one via<br>
command line).  Undeleting a file wasn't as simple as I'd have liked<br>
either.  Hopefully other people will find the tool useful.<br>
<br>
Feedback and/or bug reports welcome! [3]<br>
<br>
It's in dports at sysutils/slider, so you can get it by either:<br>
1) pkg ins sysutils/slider                        [1]<br>
2) cd /usr/dports/sysutils/slider ; make install  [2]<br>
<br>
Usage: slider file [save-as-file]<br>
<br>
Thanks,<br>
John<br>
<br>
<br>
[1] Available now for DragonFly 4.1, soon for DragonFly 4.0<br>
[2] The dependencies of lang/gcc-aux and devel/adacurses take a long<br>
time to build so it's advisable to "pkg add lang/gcc-aux" to save a lot<br>
of time when building slider from source.<br>
[3] I already know about the unhandled exception that occurs when trying<br>
to view the diff between two identical versions of the file.  The fix<br>
will be available via source build first.<br>
</blockquote></div><br></div></div>