I did a similar boneheaded move by rm -rfing my Minecraft server directory.
Depending on how much free space is on the drive and how much data as been over written will depend on how much of the world files you recover. High probability it's gone.
The thing that saved my server world files was I had Dynmap plugin installed. Dynmap is a world mapping plugin that creates hundreds of thousands of png/jpg files. This caused a delay in the rm command and that made me realize what was happening and stop the process. The damage was already done though.
@PrivateNoob
testdisk and photorec.
I did a similar boneheaded move by rm -rfing my Minecraft server directory.
Depending on how much free space is on the drive and how much data as been over written will depend on how much of the world files you recover. High probability it's gone.
The thing that saved my server world files was I had Dynmap plugin installed. Dynmap is a world mapping plugin that creates hundreds of thousands of png/jpg files. This caused a delay in the rm command and that made me realize what was happening and stop the process. The damage was already done though.