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

632 views Asked by At

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?

1

There are 1 answers

0
Toni On BEST ANSWER

Try using export TMPDIR=/tmp/newtmpdir.