cloud-foundrycf-cli

How to change the temp path used by the CLI for uploading app files in cf push


While deploying apps via cf push the CF CLI stores app files locally in a temporary path for uploading. The CF CLI uses default temp file location such as /tmp (on Unix).

We would like to change the location, is it possible to configure the CLI to use a different temp location?


Solution

  • Try using export TMPDIR=/tmp/newtmpdir.