Re: Specifying tmp for tar

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dotan Cohen wrote:
> 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?

Maybe it isn't even an archive?

What does "file enwiki-20070802-pages-articles.xml.bz2" return?

What happens if you try "bunzip2 enwiki-20070802-pages-articles.xml.bz2" ?

-- 
"If truth is beauty, how come no one has their hair done in the library?"
-- Lily Tomlin

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux