If you just did it and you aren't on a weird setup like encrypted drives you might be able to get it back.
https://en.wikipedia.org/wiki/PhotoRec
If you haven't turned off the computer and it just happened it might also be worth saving a memory dump and any swap file for later analysis. You have a good chance actually -- if it's that important.