Results 1 to 6 of 6
|
Enjoy an ad free experience by logging in. Not a member yet? Register.
|
|
-
04-24-2012 #1
- Join Date
- Apr 2012
- Posts
- 23
changing temporary location of tar temp files
In windows i used to change this location by winrar GUI preferences.
-
04-24-2012 #2
- Join Date
- Jun 2004
- Location
- Halesowen, West Midlands, UK
- Posts
- 107
I don't know if the is the extent of your question, the temp directory is /tmp.
From the command line it would be
tar jxfv xxx.tar.bz2 -C /tmp
tar zxfv xxx.tar.gz -C /tmp
-
04-25-2012 #3
- Join Date
- Jan 2005
- Location
- Saint Paul, MN
- Posts
- 818
The command "tar" does not create temporary files.
-
04-25-2012 #4
- Join Date
- Apr 2012
- Posts
- 23
while untaring does the tar archive first untar the file in some temporary location (winrar does this and this location can be easily changed in Windoes). if indeed it does this how to change this location. I hope I am more clear this time
-
04-25-2012 #5
alf55 is right.
tar does not need temporary files.You must always face the curtain with a bow.
-
04-25-2012 #6
- Join Date
- Jun 2004
- Location
- Halesowen, West Midlands, UK
- Posts
- 107
In that case I am clueless as I don't know anything about winrar and never encountered it - tar is tar and winrar is winrar.
If you need to see how tar works, check the man page and forget about how things work under Windows as Linux isn't a clone of Windows and has never intended to be. If anything Linux is a clone of Unix and skills are interchangeable - I've learned a lot about Linux from Solaris, AIX and other Unix systems and vice versa.
"tar xfv xxx.tar" will untar the file in the current directory, "tar xfv xxx.tar -C <whatever_directory_you_want>" untar's it to whatever directory you specify.