LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Tar Problems (https://www.linuxquestions.org/questions/linux-software-2/tar-problems-302488/)

numeric.9 03-16-2005 06:38 PM

Tar Problems
 
Okay lets start. I can't untar tar files anymore. I used the Archive Manager to untar a .tar file NOT A .tar.gz When I do that i always get an error message that says something like:
"mv: will not overwrite just-created `/home/my user name of course/downloads/themes/edgeicons/gtk-apply.svg' with `/tmp/file-roller.4827.0/Edge-Icons-0.4.2/scalable/gtk/gtk-apply.svg' "

So I figured I'd have to be root so i went into the terminal and su then " tar x filename.tar /path to save it/ " well now it just sits there and sits there and sits there. So I exit theterminal. Open a new one and tar -xvf filename.tar /path to file name/ and i get error message saying that file doesn't exist when i have it typed correctly Capitals and all.

Any suggestion on why this wants to give me hell?

mjrich 03-16-2005 06:54 PM

It's probably waiting on standard input.

Use this command instead:
Code:

tar -xvvf foobar.tar
where foobar.tar is the name of your tar file.

Cheers,

mj

jtshaw 03-16-2005 08:00 PM

If you want to untar into another directory other then the one you are working in then try a "tar -xvf file.tar -C /directory-path/".


All times are GMT -5. The time now is 10:43 PM.