Move or Deleting file with BOX CLI.

SOLVED
Go to solution
Highlighted
New Contributor

Move or Deleting file with BOX CLI.

Is there a way to move or delete a file with the command line tools? I have read this page: https://developer.box.com/docs/commands-and-actions

Is there a more comprehensive page or are those all the commands available? I would even be ok with being able to overwrite. 

2 REPLIES 2
Highlighted
Box Employee

Re: Move or Deleting file with BOX CLI.

Hey @EricaC,

 

Great Question! There definitely is. What you'll want to do is run something like `box files --help` to see all of the available arguments and options. In general, the best thing to do is to start just adding --help to whatever command you're looking at, and "follow the path" of commands and arguments until you see what you're looking for.

 

Hope that helps!

 

Thanks,

Jason

Highlighted
Occasional Contributor

Re: Move or Deleting file with BOX CLI.

I want to do something similar - add new collaborators/co-owner (a service account who will own archived files) but then remove the original owner.

 

As far as I can see there is no option to remove collaborators, only add, is that correct? If so we can't actually completely transfer files and folders using the CLI.

 

Hopefully I have missed someting in the CLI documentation!