Linux: file recovery (Urgent) [closed]
- by Ashine
Hi Firends,
I desperately need some help regarding problem I am facing now. While creating a softlink for a very important file I gave the reverse command by mistake. Instead of giving it "ln target linkname" I have given it 'ln linkname target'. This has resulted in references pointing to target files are now pointing to links and the actual refernces to target files are lost. How can I recover the files back.
"/home/user/data1" was original file location.
"/home/user/db2" was the desired softlink for this data.
I haveto give "ln data1 db2" but I have given 'ln db2 data1'.
This has resulted in 'data1' being now pointing towards 'db2' and the actual data in 'data1' can not be retrieved.
Some one please help.
Thanks in advance.