Skip to content
U

Undo

Undo what the last shell command did to the filesystem

by edaywalidFree

Domain Rating by Ahrefs1

#3129in Developer Tools
0In stores

Description

undo reverts what your last shell command did to the filesystem. You install a small shell hook for zsh, bash or fish, and each command that…

Highlights

  • Reverts the filesystem changes of your last shell command
  • Works with zsh, bash and fish
  • No daemon and no snapshots
  • Session history with undo list
  • Covers rm, mv, truncating writes, mkdir and chmod

Ratings & Reviews

No ratings yet

Be the first to rate Undo.

People also visit

S

Shallow Backup

Git-integrated backup tool for macOS and Linux devs

Utilities
Launch
B

Backintime

A comfortable and well-configurable graphical Frontend for incremental backups

Developer Tools
Launch
S

safety-hooks

Provides safety guards to block or require confirmation

AI Skills
Get
R

Rovr

a stylish, batteries-included terminal file manager

Developer Tools
Launch
S

Shunpo

A minimalist bash tool that makes directory navigation just a little bit faster

Productivity
Launch
Z

Zshistory

Keep Your Commands at Your Fingertips

Developer Tools
Launch

Undo FAQ

What is undo?

A command-line tool that reverts what your last shell command did to the filesystem.

Which shells does it work with?

zsh, bash and fish, through a shell hook.

Which commands can it undo?

The page lists rm, mv over a file, writes that truncate a file, mkdir and chmod, among others.

Does it keep background copies?

No. It runs no daemon and takes no snapshots. It saves the files a command is about to change, using hardlinks, and nothing runs between commands.

How do I install it?

Use the install script on the site, Homebrew, the AUR, a .deb or .rpm package, or build from source.

What are the best Undo alternatives?

Popular alternatives to Undo include Backintime, Rovr and Zshistory. See all Undo alternatives

Developer Stuff

Badges