Skip to main content
Solved

Box CLI - Download to a specific path?


  • New Participant
  • 3 replies

Hello,

I am using Box CLI Box folders:download in GitHub Actions, and I want to download it to a specific path. When I trigger action, it downloads it to C:\Users\Administrator\Downloads\Box-Downloads


I can’t believe this is not already thought off - maybe I am missing something but I couldn’t find the flag for this in https://github.com/box/boxcli/blob/main/docs/folders.md#box-foldersdownload-id


thank you

~Laith


How to achieve this?

Best answer by LaithD

I figured it out… --destination=.

It was right there in front of me… haha 😃

View original
Did this topic help you find an answer to your question?

4 replies

  • Author
  • New Participant
  • 3 replies
  • Answer
  • October 31, 2023

I figured it out… --destination=.

It was right there in front of me… haha 😃


rbarbosa Box
  • Developer Advocate
  • 553 replies
  • October 31, 2023

Hi there @LaithD


incorrect answer removed by author


I’ll marks your post as answer


Cheers


  • Author
  • New Participant
  • 3 replies
  • October 31, 2023

My use is to download a folder with subfolders. I didn’t try the --save-to-file-path=save-to-file-path as it is related to “report” - wasn’t sure if reports is meant to be the status of the transaction.


Box offers great feature(s) but I do find it difficult to understand your documentation(s) often vague in meaning.


rbarbosa Box
  • Developer Advocate
  • 553 replies
  • October 31, 2023

Hi @LaithD ,


And neither did I apparently 🙂 , nor I saw your reply in the mean time.


I’m going to remove my answer since it is incorrect.


I agree with you Laith, and it is this type of much appreciated feedback, that allows us to improve.


So thank you for your inputs, keep them coming.


Cheers


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings