在DragonFly BSD中,您可以使用 undo -a <filename> 。如果删除文件,可以使用 undo -o <output_filename> <removed_file> 。如果您碰巧删除了目录,是否有类似的功能?喜欢 undo <dir> .
undo -a <filename>
undo -o <output_filename> <removed_file>
undo <dir>
没有。您只需要cd到事务id(cd@@0x..)中并复制这些内容。
另一个选项是使用滑块( https://github.com/jrmarino/Slider ).
干杯
安东尼奥·休特