Recently, due to a runaway process, some 1.4 milion small files (around 8 Kb) were generated and moved to Recycle-Bin. What would be a convenient way to restore some of the files and permanently delete the others without killing the system? For example, I need to permanently delete all files that contain a specific string from the original filename and restore others. Opening Recycle Bin causes the memory to fill up and the machine becomes unresponsive.
EDIT: This is a virtual machine that runs as a server.