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

Access Box via terminal

New post

Comments

5 comments

  • Tom Emerson

    Up until yesterday, I was able to "cd Box" and use files in the Mac Terminal.
    After the macbook pro "crashed", rebooted, this was no longer available as you described.

    I am trying a temporary work around.  However, something appears to have broken.  This work around may or may not be suitable.
    I am able to access everything on the box drive via the Finder and other GUI applications, just not when using the Terminal.

    Open the Mac Terminal and do this:

    ln -s /Users/USERNAME/Library/CloudStorage/Box-Box /Users/USERNAME/boxdrive

    Now I can "cd boxdrive" and see everything.
    I could just "cd /Users/USERNAME/Library/CloudStorage/Box-Box", but that's just too much typing.

    Something has broken with this recent Box Drive update.

    2
    Comment actions Permalink
  • Keri M Kemp

    Thanks, Tom! This symbolic link "work around" worked perfectly for me to be able to access the Box-Box directory.

    Update:

    However, I can't make any zsh script executable. I have tried and tried recursively and with chmod 775. Have either of you had this problem?

    3
    Comment actions Permalink
  • ab695

    Hi Keri, I have been having the same issue with trying to use chmod 775 recursively on a directory and none of the file privileges are changing. Previously there has been no issue with this command on Box and I wondered if you found a workaround for this problem? Many thanks.

    1
    Comment actions Permalink
  • Prachi Shirish Khadke
    This is what I did: 

    ln -s /Users/USERNAME/Library/CloudStorage/Box-Box /Users/USERNAME/Box

    This lets me just go to my files like so: cd ~/Box
    0
    Comment actions Permalink
  • Tom Emerson

    Checking back a year later:

    ln -s /Users/USERNAME/Library/CloudStorage/Box-Box /Users/USERNAME/boxdrive

    I'm still using this solution, no problems encountered.

    0
    Comment actions Permalink

Please sign in to leave a comment.