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.
No, you cannot. It wasn't overwritten though, their contents were merged.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.