I'm not familiar with Mac's terminal specifically, but I'd guess that you'd have to do something along the lines of "cp trash_location target_location" which would copy everything from your trash to a specified target location. I don't think there's an actual restore command, so you'll have to...