Re: Specifying tmp for tar



On 01/09/2007, Mikkel L. Ellertson <mikkel@xxxxxxxxxxxxxxxx> wrote:
Dotan Cohen wrote:
I have a 2 GB bz2 archive that unzips to over 10 GB (wikipedia dump).
Although I have over 50 GB free in /home, / has only about 8 GB free.
Thus, as tar uses /tmp, the / filesystem fills up and I cannot
continue. How can I specify a tmp directory for tar in my home
directory? Note that man tar makes no mention of a tmp option.

Thanks in advance.

Dotan Cohen

Dumb question - does it help to create a /tmp directory in your home
directory and run "export TMP=$home/tmp"? (I don't remember if bzip2
and tar honor TMP.)

Mikkel

Thanks, but that did not work either. The / filesystem did not fill
up, but I got this error:

ubuntu@ubuntu-laptop:~/Desktop$ tar xjf enwiki-20070802-pages-articles.xml.bz2
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Error exit delayed from previous errors
ubuntu@ubuntu-laptop:~/Desktop$

Maybe the archive is bad?

Dotan Cohen

http://lyricslist.com/
http://what-is-what.com/

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: Specifying tmp for tar
    ... Thus, as tar uses /tmp, the / filesystem fills up and I cannot ... How can I specify a tmp directory for tar in my home ...
    (Fedora)
  • Re: [Fedora] Re: Specifying tmp for tar
    ... Thus, as tar uses /tmp, the / filesystem fills up and I cannot ... How can I specify a tmp directory for tar in my home ... Note that man tar makes no mention of a tmp option. ... If that's the case, why not uncompress the file first with bzip2 somewhere on the file system that actually has space, and then run tar to extract the files? ...
    (Fedora)
  • Re: Specifying tmp for tar
    ... Thus, as tar uses /tmp, the / filesystem fills up and I cannot ... Note that man tar makes no mention of a tmp option. ... I can then simply erase the symlink? ... be after the "mv" command above. ...
    (Fedora)
  • Re: Specifying tmp for tar
    ... Thus, as tar uses /tmp, the / filesystem fills up and I cannot ... How can I specify a tmp directory for tar in my home ... Note that man tar makes no mention of a tmp option. ...
    (Fedora)
  • Specifying tmp for tar
    ... Thus, as tar uses /tmp, the / filesystem fills up and I cannot ... How can I specify a tmp directory for tar in my home ...
    (Fedora)