How to Undo File Operations in ComfortFiles
Updated August 4, 2026
Press ⌘Z to undo your last file operation — a rename, a move, a paste, or a delete. Deleted something by mistake? ⌘Z brings it back out of the Trash to exactly where it was. Redo with ⇧⌘Z.
What can be undone
| You did | ⌘Z does |
|---|---|
| Renamed a file | Restores the old name |
| Moved / cut-pasted files | Moves them back where they were |
| Deleted to Trash | Restores them from the Trash to the original folder |
| Created a file or folder | Removes it again |
Undo works across the app — it doesn’t matter which tab or folder you’re looking at when you press ⌘Z.
The safety checks
Undo verifies the state of your files before acting. If something changed in the meantime — say, the file was renamed again by another app — the undo step is skipped rather than guessing and making things worse.
Why this matters
Finder has undo too, but knowing your file manager can walk back a wrong move is the difference between careful and confident. It’s also why deleting in ComfortFiles goes through the Trash, never straight to gone.
Frequently asked questions
How do I undo a file move?
Press ⌘Z. Every file goes back to the exact folder it came from, even when the move pulled files out of several different folders at once. It does not matter which tab you are looking at — the undo history is shared across the whole app.
How do I uncut a file after pasting it somewhere?
A cut-and-paste is a move, so ⌘Z takes it back: the files return to the folder you cut them from. There is no separate "uncut" step to learn. If you cut but have not pasted yet, just press Esc or cut something else — nothing has moved.
Can I undo a rename?
⌘Z restores the previous name. A batch rename undoes as a single step, so renaming forty files and changing your mind costs one keystroke, not forty.
Does undo bring back a file I deleted?
Yes. Deleting in ComfortFiles always goes through the Trash, never straight to gone, and ⌘Z lifts the file back out of it into the folder it came from — you do not have to open the Trash and use Put Back.
What is the File Explorer Ctrl+Z equivalent on a Mac?
⌘Z, and ⇧⌘Z to redo. In ComfortFiles it covers the same ground Explorer's undo does: renames, moves, cut-and-paste, new folders and deletes.
How far back does undo go, and does it survive quitting?
There is no fixed limit — you can keep stepping back through the file operations of the current session. The history is not written to disk, so quitting ComfortFiles clears it and the next launch starts fresh.