I accidentally dragged about 2,000 files onto my Mac desktop instead of the trash, and it's too late to undo. How do I delete them without deleting everything else on my desktop?
If nothing else is on your desktop, press Command-A to select everything and Command-Delete to send it to the trash. If other things are there, open the Desktop folder in a Finder window and switch to list view. Then select the files in groups: Shift-click picks a range of files and Command-click picks individual ones. Next time you want to trash a lot of files, use Command-Delete instead of dragging.