me + tar command = stupid result;
by dedec0 from LinuxQuestions.org on (#5H1Q5)
Hello,
yesterday, i created a tar.bz2 file with a command like this:
Code:tar cjf allfiles.tbz ~/../myuserWhy? At that moment, i wanted to also include all hidden files in the compressed file, and i thought that giving just "~" as argument would not do that. But the result is a tar (inside the bz2 one) file where all paths start with:
Code:home/myuser/../myuser/But now, i have serious problem. I cannot extract any file! I tried 7z, tar and the graphical extractor that Mate uses.
How can i make that work? I already deleted some files, since i counted on this backup to have them.


yesterday, i created a tar.bz2 file with a command like this:
Code:tar cjf allfiles.tbz ~/../myuserWhy? At that moment, i wanted to also include all hidden files in the compressed file, and i thought that giving just "~" as argument would not do that. But the result is a tar (inside the bz2 one) file where all paths start with:
Code:home/myuser/../myuser/But now, i have serious problem. I cannot extract any file! I tried 7z, tar and the graphical extractor that Mate uses.
How can i make that work? I already deleted some files, since i counted on this backup to have them.