Re: Where is the best place to store temporary files?



On Fri, 02 Dec 2005 at 11:20 GMT, Bruce Barnett wrote:
> "RolandRB" <rolandberry@xxxxxxxxxxx> writes:
>
>> John L wrote:
>
>>> Probably the worst choice. Use /tmp or /var/tmp or even ~/tmp if it exists.
>
> Sometimes applications use TMPDIR if the environment variable is
> defined. I've been thankful that the application has this feature,
> and /tmp is filled with files I can't delete.
>
> And if you want to make sure there is no name collision
> inside a common tmp directory, you can use
>
> MYTMP=${TMPDIR:'/tmp'}/$USER

It seems that you forgot the '-' after the ':'

Apostolos

--
Replace earth.space with gmail.com for a valid e-mail
.



Relevant Pages

  • Re: Where is the best place to store temporary files?
    ... > John L wrote: ... Sometimes applications use TMPDIR if the environment variable is ... I've been thankful that the application has this feature, ...
    (comp.unix.shell)
  • Re: Python Win32 Extensions and Excel 2003. OL 11.0 Supported?
    ... >Anyone else have to package builds of com applications that need to be ... John ... Prev by Date: ...
    (comp.lang.python)
  • Re: Genlock circuits
    ... >is this for "emergency alert" applications ... John ... Prev by Date: ...
    (sci.electronics.design)
  • Unknown Publisher
    ... I have several applications that cause the "Unknown Publisher" box to appear ... John ... Prev by Date: ...
    (microsoft.public.windows.terminal_services)
  • Re: RCA P46725SK
    ... It's the feedback for the HV regulation. ... applications. ... John ... Prev by Date: ...
    (sci.electronics.repair)