LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   @LongLink created in my home path. Other directories deleted? (https://www.linuxquestions.org/questions/linux-newbie-8/%40longlink-created-in-my-home-path-other-directories-deleted-4175425420/)

phsai 09-03-2012 10:26 AM

@LongLink created in my home path. Other directories deleted?
 
Hello

After I tried to extract a .tgz file that I downloaded, all the directories in my home directory disappeared and a @LongLink got created. I am not able to extract the @LongLink and can't also see the folders like Desktop/ that are usually in the home directory. I changed the permission of the @LongLink file to rwx for user and tried using

tar x @LongLink but this file is not recognized. For now I only have access to the command line of the unix box and I am a newbie.. Please help me out in extracting the files so I can get the older folder structure back.

evo2 09-04-2012 03:21 AM

Hi,

so I'm interpreting this as: you are thinking that the command you ran to try to extract the .tgz file actually tared up all the contents of your home directory into "@LongLink".

Assuming this to be true I have a couple of requests for more information. Please run the following commands in a terminal and cut and past the output into the forum in "[code]" tags (like what I'm using below).
Code:

cd ~
ls -al

With this information we may be able to help you.

Evo2.

PS. I'm unsure what you mean by "@LongLink", hopefully the output of the above commands will help clarify.


All times are GMT -5. The time now is 09:30 PM.