Can I change the tmp folder path?

What is the problem you are having with rclone?

Since I'm using VPS to download youtube video, however my disk storage of VPS is only 10GB, when I move downloaded video to the cloud, there will generate some file called "rclone-spool002700937" and I don't have more space for that file. So is there any way to change the tmp file path ? Thank you.

What is your rclone version (output from rclone version)

  • os/arch: linux/amd64
  • go version: go1.11.2

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Ubuntu 18.04.3 LTS

Which cloud storage system are you using? (eg Google Drive)

OneDrive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone -v move /dev/shm/Download /home/test/cloud/

A log from the command with the -vv flag (eg output from rclone -vv copy /tmp remote:tmp)

If you are using rclone move, just move directly to the remote and you'd want to set the TMPDIR if you are using a remote that needs to write something locally by:

To set the temporary directory you’ll need to set the TMPDIR environment variable