Linux recover deleted directory

2.7k Views Asked by At

I had a directory named foo in my linux server. home/foo I also had a file named foo.tgz in home directory. I issued an extract of foo.tgz from home directory and the tar file had a directory named foo in it. So the directory home/foo got overwritten. Can I recover the old home/foo directory.

1

There are 1 best solutions below

2
On

No, you cannot. It wasn't overwritten though, their contents were merged.