Assuming you are running ML, then you can select all the files, right click, select "put back". If "put back" does not show up, then at least one of the files cannot be put back for some reason.
If you are running something previous to ML, then you are out of luck.
If you have problems with using the put back method, just restore from your backup.