kimono-koans / httm

Interactive, file-level Time Machine-like tool for ZFS/btrfs/nilfs2 (and even Time Machine and Restic backups!)
https://crates.io/crates/httm
Mozilla Public License 2.0
1.37k stars 29 forks source link

Search for deleted files does not work #6

Closed CKingX closed 2 years ago

CKingX commented 2 years ago

I ran httm -i on a ZFS dataset and searched for a deleted file. It could not find it. I also tried select mode with httm -s and it doesn't show the file. Findoid finds it in the snapshot. I installed using cargo and am running version 0.5.2

kimono-koans commented 2 years ago

Sorry I didn't respond to this issue earlier.

I'm also sorry if I oversold the capabilities of the interactive modes. The files in the left pane interactive view are only the files that a presently available in the directory, so deleted file lookup is only possible in the non-interactive mode. But I suppose it would be possible to add an option to enumerate deleted files as well.

And, if this is something you might be interested in, I think it actually wouldn't take that much work to implement. I'll get to work on implementing. Thanks for your interest in the project!

kimono-koans commented 2 years ago

Give the -d option a try out. Hope you enjoy!

CKingX commented 2 years ago

Oh I see. httm {name of file} works. Also thanks for the deleted file feature! This is a great tool!

Edit: Just reinstalled httm with cargo. -d option works as well!