Skip to main content
Question

Move or Deleting file with BOX CLI.

  • May 22, 2025
  • 2 replies
  • 34 views

Forum|alt.badge.img

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

Forum|alt.badge.img

Hey ,

 

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


Forum|alt.badge.img

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!