Home > Questions

How to recover files that are vanished after pressing Command + Z? Please help!

I tried to paste some pictures from my SD card into a file on my Mac. Then I accidentally pressed Command + Z, and the pictures are all gone now. I can't find them anywhere. Also, I can't copy them from the SD card again because they are deleted. How to recover them?

Best Answered by

iBoysoft author Jenny Zeng

Jenny Zeng

Answered on Tuesday, August 5, 2025

Command + Z undoes the previous pasting command, causing the pictures to disappear on your Mac. To recover those pictures, you just need to redo or reverse the undo command by pressing Shift + Command + Z.

Suppose that doesn't work, you can use iBoysoft Data Recovery for Mac to scan the SD card with which the pictures were deleted and preview the recoverable files for free. It's an advanced data recovery tool that can recover deleted files on SD cards and other storage devices with a few clicks.

Note that if you have saved new files to the SD card, the deleted pictures may have been overwritten and thus become unrecoverable. Still, you can take the steps below to see if the pictures are recoverable.

Step 1: Free download and install iBoysoft Data Recovery for Mac.

Step 2: Connect the SD card to your Mac.

Step 3: Launch iBoysoft Data Recovery, select the SD card, and tap "Search for Lost Data."

Step 4: Preview the lost pictures.

Step 5: Tick the boxes next to the files you want to restore, then click Recover and designate a storage location for them. Don't save them to the SD card you're currently using for data recovery, as that may overwrite or corrupt data on it.

Also read:

[Complete Guide]How to Recover Deleted Photos from SD Card

People Also Ask

Read More Questions

Read More Advice From iBoysoft's Computer Experts

couldnt update to macOS Sequoia 15.4

Fix: M1, M2, M3, M4 Mac Can't Update to macOS 15.4 Sequoia

Read to learn why M4, M3, M2, M1 MacBook Pro and Air fails to upgrade to macOS 15.4 Sequoia and how to resolve the trouble.

What Is an SD Card Reader?

What Is an SD Card Reader? How to Use It on Mac/Windows?

A brief introduction to SD card readers, including the uses, types, how to use them on Mac and Windows, and some recommendations of best SD card readers.