Welcome to the new Box Support website. Check out all the details here on what’s changed.

Comments

5 comments

  • Kourtney

     

     

    I believe you should be able to do this by using the update folder command along with the sync_state field

     

    Best, 

    Kourtney

    Box Technical Support Engineer

     

     

     

     

     

    0
    Comment actions Permalink
  • tmhrtc

     

     

    box folders:update ID - is primarily for manipulating Folder Attributes and other elements like "sync' or 'not', 'collaboration' settings, 'tags', and other.

    It is not for updating the folder "contents", which is what I am after.

    I know the box sync client, or box drive client do these things well, but I was wanting to utilize a script with public key authentication to "sync" a folder and all of its contents (files, and sub-folders) using the box CLI.

    sync_state - string Whether this folder will be synced by the Box sync clients or not.

    This is not what I was wanting either, it relies on you having the client installed.





    0
    Comment actions Permalink
  • Kourtney

     Apologies, I misunderstood the ask here. I'd love to help, but I am still not sure I'm on the same page. Can you please clarify what you're looking for? What did you mean when you said, "It is not for updating the folder "contents", which is what I am after"? 

     

    Best, 

    Kourtney 

    Box Technical Support Engineer

    0
    Comment actions Permalink
  • tmhrtc

    I am looking for a way to "update" a folder and all of it's contents.  So, lets say i run this command:

     

    "box folders:upload /root/test_folder --parent-folder=%ID%"

     

    Then following day, some files are added to the "/root/test_folder" and now it's time to backup to box..

     

    How can i upload the folder, and only "Update" what has changed?

     

    It would be nice to have something for "Folders" like you have for "Files"

     

    "box files:versions:upload FILEID PATH"

     

    maybe - "box folders:versions:upload FOLDERID PATH"

    that would update all of the contents of the folder, version stuff that exist, add items that don't.

     

    Thanks!

     

     

    0
    Comment actions Permalink
  • jcleblanc

    Hi ,

     

    Unfortunately there isn't anything that I'm aware of out of the box that provides that direct functionality without having to build it yourself through the APIs. It does sound like a good feature request though to expand upon the existing functionality. We do have our Box Pulse site as a central location for request to get in front of product teams, if you'd like to file a request there. That'll ensure that everything gets visibility with the product orgs.

     

    Thanks,

    Jon

    0
    Comment actions Permalink

Please sign in to leave a comment.