Specifying tmp for tar
Garry T. Williams
gtwilliams at gmail.com
Fri Aug 31 21:40:54 UTC 2007
On Friday 31 August 2007 16:18:05 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.
No, the manual doesn't mention it, but I think the program respects
the TMPDIR environment variable. Try setting it.
--
Garry T. Williams --- +1 678 656-4579
More information about the fedora-list
mailing list