Undo an Accidental Move or Delete With a Keyboard

Have you ever accidentally deleted the wrong file, or duplicated files while trying to select them with the mouse? Those types of mistakes can be extremely frustrating, but there’s a really, really simple way to reverse them.

All you have to do is use the Ctrl+Z keyboard shortcut, or use Edit \ Undo on the menu.

This is especially handy when you are trying to select a bunch of files, and accidentally move the mouse and copy them into the same folder instead: