How to download a Box file from the command line

June 20, 2019 | 0

curl -L[FILE ID]/content -H "Authorization: Bearer [DEVELOPER TOKEN]" -o [FILE NAME]First get the file ID from the URL in the browser. Then get the developer token by creating a new Box app (click the configuration tab). You can choose the file name to output to. View an example here.