Skip to main content
Solved

How to add a shortcut to the Finder sidebar?

  • February 18, 2016
  • 6 replies
  • 56 views

Forum|alt.badge.img+14

I've been tasked with coming up with a script to mount an smb share where the share will be a user's name. This share needs to show up in the Finder sidebar with the name "Home". I've been able to do the following...

mkdir /Volumes/Home
mount -t smbfs smb://pc-fs2.pc.parkland.edu/home2$/$Current_User /Volumes/Home

I figure if there's a way to get /Volumes/Home created as a shortcut in the Finder sidebar then things are good.

Any ideas? I was sure a few months ago I saw an application someone created that would do this but now I can't find it. Maybe I saw it in a dream...no idea. At any rate it'd be nice if I could pull this off.

Best answer by mm2270

You mean this script perhaps? https://github.com/matt4836/changeSidebarLists/blob/master/Change_Sidebar_List.py

6 replies

mm2270
Forum|alt.badge.img+24
  • Legendary Contributor
  • Answer
  • February 18, 2016

Forum|alt.badge.img+14
  • Author
  • Valued Contributor
  • February 19, 2016

Thanks for the link! The comments for it lead me to believe it may not be reliable for El Capitan but someone else listed a couple of apps developed that should fit the bill. I just tried one of them out and it looks like it'll work. I wouldn't have found those if not for your link.


PatrickD
Forum|alt.badge.img+9
  • Valued Contributor
  • February 23, 2016

@jhuls Have had great luck with the mySides binary. Super simple to use and haven't had any issues on El Cap.

I personally had to turn to this as the plist solution stopped working in El Cap.

https://github.com/mosen/mysides

note if the directory that you are "favouriting" has a space in it you will need to replace the space with a %20 when its passed in.

Pat


Forum|alt.badge.img+14
  • Author
  • Valued Contributor
  • February 23, 2016

@PatrickD That's the one I ended up using. Thanks for the tip!


dstranathan
Forum|alt.badge.img+19
  • Valued Contributor
  • July 8, 2016

@PatrickD - Did you have to complie it? I dont see an executable binary on mosen's github repo (https://github.com/mosen/mysides).

I just spit out a binary from Xcode. Seems like mosen should have a precompiled version available...?


PatrickD
Forum|alt.badge.img+9
  • Valued Contributor
  • August 25, 2016

Hey @dstranathan,

Yeah I had to compile it in Xcode, would be nice if it was up there ready to go though. In saying that I'm not complaining. Props to mosen for doing the grunt work, I guess we can just do the last little bit haha.