Command line option for box sync
In Mac, when i go to the Box Sync folder in Finder, i have an option to click on the file and get "Copy Link" -- which copies the link to file/folder in box.
Can i get this using scripting. I have a directory structure and need to get the link for all subdirectories/files under it.
regs
Rakesh
-
You can create a shared link for a folder using this endpoint. If the shared link already exists, you can access it with this endpoint.
-
Thank you for pointing to a solution.
I am working on a enterprise box and developer tools are blocked on it. My objective is to get the shared link to all the files under a directory (recursively, as it has multiple directories underneath). Directory is shared aswell.
Clicking on each file under the directory is impracticle due the number of files, hence was looking for alternatives. In mac, when i download a file using safari/chrome, the files has a EA -- "kMDItemWhereFroms" -- which is updated with the shared link. But this EA is not present when i use BoxSync.
Is there a way to get BoxSync to fill this EA when it starts a sync ? or Is there a way to retain the EA for all files in a directory when i choose to download a directory (currently the download happens in form of a zip file with the EA - kMDItemWhereFroms only set for that directory).
Thanks in advance.
Rakesh.
Please sign in to leave a comment.
Comments
4 comments