I accidentally dropped 86000 pics onto the desktop and now Finder is not responding, what to do?

I tried to take 86,000 pics from Photos, and accidentally dropped them onto the Desktop. Finder is now officially as per the title - not responding.

I can't do anything - can't open a folder, can't drop down a menu, nothing. I'm in the loop from ****.

Help please.


[Re-Titled by Moderator]

MacBook Pro 16″, macOS 13.6

Posted on Jan 11, 2024 10:11 PM

Reply
Question marked as Top-ranking reply

Posted on Jan 13, 2024 11:26 AM

Aha! No, you don't need to use Disk Utility. The main drive is already mounted. All the user has to do is type in the correct volume name, as you show for the Preferences folder. So, here's the whole thing again with the correct steps.


Start up in Recovery Mode. Intel method. Apple Silicon method.


On an Intel Mac, all you need to do restart and then immediately hold down the Command+R keys. Then enter your admin password if prompted.


On an Apple Silicon Mac, shut the Mac down. Then press and hold the power button until you get a screen showing any bootable volumes and Options. Double click the Options icon. Next, select the admin icon and click Next. Enter the admin password. You can't jump directly to desktop folder with ~/Desktop.


So, once at the Recovery Mode work screen, go to the top menu bar and launch Terminal. Type this (case doesn't matter here):


cd /volumes/drive_name/users/your_account/desktop


Examples: If your main drive has a space in the name, you have to use a backspace to parse the space character. So, a boot volume named My Mac would be:


cd /volumes/my\ mac/users/your_account/desktop


Mine is simply Sonoma, and your short account name is normally always one word. An admin of Jim Smith would then be jimsmith for the account name. Then the command would be:


cd /volumes/sonoma/users/jimsmith/desktop


To verify you're in the correct place, type this:


ls


That's a lower case L, not a capital i. It's short for list. You should see a very long list of files scroll by. If you do not see the desktop files, back up to the root of the drive with:


cd /


Start over. It may be easier to do this one step at a time since you can check each move. Like this:


cd /volumes/drive_name


ls


You should see everything at the root of the drive. Applications, Library, System and Users.


cd /users


ls


You should see Shared and all user account names.


cd /your_account


ls should then show Desktop, Documents, Downloads, Public and other typical folders.


cd /desktop


ls


Once you've verified you've seen thousands of image file names scroll by, you delete all of them in one command. What you type depends on what kind of file they are.


Make absolutely sure to NEVER type *.* . That means everything.


(in each example below, there's a space between rm and the file type)


You would use this command to remove all JPEG images ending in .jpg


rm *.jpg


If the file extension is .jpeg, then it would be:


rm *.jpeg


This for Apple HEIC images


rm *.heic


You can check what's left after a command by typing ls again.


When the images have all been removed, you can quit Terminal and restart the Mac normally. Or, while still in Terminal, simply enter reboot.

26 replies

Jan 13, 2024 1:29 AM in response to Christine_H

Weird. So Photos.app is no longer active and only Finder is stuck, right?


Maybe you could delete Finder's preference file at ~/Library/Preferences/com.apple.finder.plist.


But if the Finder is stuck you might try to do it in the Terminal (maybe launch Terminal via Spotlight search) with:


rm ~/Library/Preferences/com.apple.finder.plist


If you can't reach Terminal that way, boot in to recovery mode (Command-R) and launch Terminal there via the menu.

Jan 13, 2024 9:59 AM in response to Matti Haveri

The last thing I ever tell anyone is to pull the power cord when all other means of interruption have already been tried — including pressing and holding the power button. I say last, because if Time Machine is in the middle of a backup, or even if it isn't, the rude shutdown may corrupt that external drive, and then one must boot into Recovery and use Disk Utility First Aid in hopes of repair success.

Jan 13, 2024 10:00 AM in response to Christine_H

Deleting the .plist files mentioned won't change anything. The files will still be on the desktop. What will work is what Matti Haveri alluded to: Removing the files via Terminal in Recovery Mode.


Start up in Recovery Mode. Intel method. Apple Silicon method.


Once at the work screen, go to the top menu bar and launch Terminal. Type this:


cd ~/Desktop


To verify you're in the correct place, type this:


ls


That's a lower case L, not a capital i. It's short for list. You should see a very long list of files scroll by.


Once you've verified you've seen thousands of image file names scroll by, you delete all of them in one command. What you type depends on what kind of file they are.


Make absolutely sure to NEVER type *.* . That means everything.


(in each example below, there's a space between rm and the file type)


You would use this command to remove all JPEG images ending in .jpg


rm *.jpg


If the file extension is .jpeg, then it would be:


rm *.jpeg


This for Apple HEIC images


rm *.heic


You can check what's left after a command by typing ls again.


When the images have all been removed, you can quit Terminal and restart the Mac normally.

Jan 13, 2024 10:16 AM in response to Matti Haveri

On top of that, my instructions don't work. At least, not on an Apple Silicon Mac.


I tested it just now to verify, and while I can get into Recovery Mode, login with my admin password and launch Terminal, I can't get to my own desktop!


cd /


takes me to the root of the drive.


cd Users


then puts me in that folder. But, ls only shows the Shared folder. I can't get Terminal to move into my own account.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

I accidentally dropped 86000 pics onto the desktop and now Finder is not responding, what to do?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.