'httm' is my take on a CLI ZFS Time Machine

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

small_kimono

New Member
Apr 6, 2022
1
3
3
484838.png

Don't call it a h-- t-- time machine

httm prints the size, date and corresponding locations of available unique versions (deduplicated by modify time and size) of files residing on ZFS snapshots, but can also be used to the interactively view and restore such files. 'httm' might change the way you use ZFS snapshots (because ZFS isn't designed for finding for unique file versions) or the Time Machine concept (because 'httm' is fast!).

See for yourself
'httm' boasts an array of seductive features, like:
  • Search for and recursively list all deleted files! Ooooooooo!
  • Select non-immediate datasets (on a different pool, or remote).
  • For use with even rsync-ed non-ZFS local datasets (like ext4, APFS, or NTFS), not just ZFS.
  • Specify multiple files for lookup on different datasets
  • 3 native interactive modes: lookup, select and restore
  • ANSI `ls` colors from your environment
  • Non-blocking recursive directory walking (available in all interactive modes)
  • Select from several formatting styles. Parseable ... or not ... oh my!
Use in combination with you favorite shell (hot keys!) for even more fun.

Inspired by the wonderful findoid script, fzf and many wonderful zsh key bindings.