TMP folder is not created if doesn't exist so writes to /tmp/
superbonaci opened this issue · 1 comments
superbonaci commented
TMP folder does not exist in current dir, but it's user writable. Maybe twitch-dl
should create the dir?
$ cd $HOME
$ TMPDIR=./TMP twitch-dl download "https://www.twitch.tv/videos/1941354430" --auth-token $OAUTH -q source --keep --no-join -o moorebidtv.mp4
Downloading twitch-dl:
Looking up video...
Found: || TOP 100 IN THE WORLD (#70) || by moorebidtv
Output: moorebidtv.mp4
Fetching access token...
Fetching playlists...
Fetching playlist...
Downloading 1892 VODs using 5 workers to /tmp/twitch-dl/---_moorebidtv_---_---/chunked
Downloaded 1891/1892 VODs 99% of ~14.8GB at 10.2MB/s ETA 00:00
Skipping joining files...
VODs downloaded to:
/tmp/twitch-dl/---_moorebidtv_---_---/chunked
Files were saved to /tmp/twitch-dl/---_moorebidtv_---_---/chunked
instead of /Users/admin/TMP/twitch-dl/---_moorebidtv_---_---/chunked