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.