Specifying tmp for tar

Mikkel L. Ellertson mikkel at infinity-ltd.com
Fri Aug 31 21:48:03 UTC 2007


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
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20070831/a3b687ee/attachment-0002.bin 


More information about the users mailing list