Results 1 to 6 of 6
  1. #1
    Script Help to Silent Mounting Shares
    Slydude's Avatar
    Member Since
    Nov 15, 2009
    Location
    North Louisiana, USA
    Posts
    8,552
    Specs:
    2.8 GHz MacBook Pro 10.10.2, 8 GB mem, iPhone 6+
    Script Help to Silent Mounting Shares
    I currently have my music library on a Time Capsule along with several other folders/files. Specs for the rest of the system are right below the badge. This works fine since iTunes 11 even tells me when the drive isn't available. Here's what I would like to do. It should be simple but I can't seem to find a solution that works.

    I would like to silently mount the iTunes folder (no Finder window open on the desktop) automatically when logging into my account or ideally as part of a larger Automator workflow that launches iTunes. I think I have everything working except the silent mounting bit. Can't seem to find a good description that my brain cells can comprehend.

    Long term I'd like to assure that guests using iTunes can't bork with my library (or other things on the drive for that matter).

    Be aware of two limitations:

    1. When suggesting Terminal scripts remember my phobia. Simple directions please.
    2. Adding an alias to the share dies't silent mount the share when added to login items.

    Any help greatly appreciated
    Sylvester Roque Former Contributing Editor About This Particular Macintosh

    "Got Time to breathe. You got time for music." Denver Pyle as Briscoe Darling

  2. #2
    Script Help to Silent Mounting Shares
    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,395
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    My kind of problem!

    Alright, I don't have a TC so I don't know how the files are seen/shared over the network. This being an Apple device, I presume they are shared over AFP. Here's an article about mounting AFP shares over the network to a folder on your local machine (sorry, but this one is going to require some love for the command line). Try that and see if it works. If it does, you can add it to Automator using the "Run Shell Script" action.

    Quote Originally Posted by Slydude View Post
    2. Adding an alias to the share dies't silent mount the share when added to login items.
    This makes sense since aliases are little more than pointers. Think of it this way: aliases are like a traffic cop - they can point you in the right direction but have no say in how you drive down that route. Aliases are similar in pointing you at something but have no say in how (of if) something works.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  3. #3
    Script Help to Silent Mounting Shares
    Slydude's Avatar
    Member Since
    Nov 15, 2009
    Location
    North Louisiana, USA
    Posts
    8,552
    Specs:
    2.8 GHz MacBook Pro 10.10.2, 8 GB mem, iPhone 6+
    Quote Originally Posted by vansmith View Post
    My kind of problem!

    Alright, I don't have a TC so I don't know how the files are seen/shared over the network. This being an Apple device, I presume they are shared over AFP. Here's an article about mounting AFP shares over the network to a folder on your local machine (sorry, but this one is going to require some love for the command line). Try that and see if it works. If it does, you can add it to Automator using the "Run Shell Script" action.

    This makes sense since aliases are little more than pointers. Think of it this way: aliases are like a traffic cop - they can point you in the right direction but have no say in how you drive down that route. Aliases are similar in pointing you at something but have no say in how (of if) something works.
    Thanks. I read tons of stuff in the last week or so. Most of it from people suggesting either use of aliases on the desktop or adding the TC to login items. apparently they do not understand what's meant by "silent" mounting.

    Looks like that will do the trick. I was all over that site but missed this somehow. I don't remember which command I tried but it was either the wrong one or I got one of the parameters wrong. I'll give this a tryThis is an afp share so it should work. I've been getting a few more drops than usual lately so I probably need to account for that as well.
    Sylvester Roque Former Contributing Editor About This Particular Macintosh

    "Got Time to breathe. You got time for music." Denver Pyle as Briscoe Darling

  4. #4
    Script Help to Silent Mounting Shares
    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,395
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    That should do the job "silently" mounting it in the background. You can even add parameters to it to regulate the mounting (make it read only, change location, etc). But, since you have an aversion to the command line (I'll get you there one day Sly!), I'll leave it where it is.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  5. #5
    Script Help to Silent Mounting Shares
    Slydude's Avatar
    Member Since
    Nov 15, 2009
    Location
    North Louisiana, USA
    Posts
    8,552
    Specs:
    2.8 GHz MacBook Pro 10.10.2, 8 GB mem, iPhone 6+
    Quote Originally Posted by vansmith View Post
    That should do the job "silently" mounting it in the background. You can even add parameters to it to regulate the mounting (make it read only, change location, etc). But, since you have an aversion to the command line (I'll get you there one day Sly!), I'll leave it where it is.
    I guess I will have to force myself to learn a thing or two.I'm still working on the Apple TV problem I posted about so it may be a day or two before I really experiment with it. Right now it's just my wife and I here so I'm not too worried about folks deleting stuff. Especially with the ATV as front end but eventually I may look at some things such as mounting read only erc.

    Thanks for the help. If you hear a scream you will know that something has gone horribly wrong.
    Sylvester Roque Former Contributing Editor About This Particular Macintosh

    "Got Time to breathe. You got time for music." Denver Pyle as Briscoe Darling

  6. #6
    Script Help to Silent Mounting Shares
    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,395
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    Quote Originally Posted by Slydude View Post
    I guess I will have to force myself to learn a thing or two.I'm still working on the Apple TV problem I posted about so it may be a day or two before I really experiment with it. Right now it's just my wife and I here so I'm not too worried about folks deleting stuff. Especially with the ATV as front end but eventually I may look at some things such as mounting read only erc.

    Thanks for the help. If you hear a scream you will know that something has gone horribly wrong.
    Good luck! I'll keep an eye on this thread for the screams.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Script fr mounting external disks
    By Thymen in forum OS X - Operating System
    Replies: 1
    Last Post: 07-07-2012, 09:38 AM
  2. Mounting Network Shares
    By 1baroulette in forum Internet, Networking, and Wireless
    Replies: 1
    Last Post: 02-08-2012, 07:27 AM
  3. Mounting SMB shares
    By jdhanley in forum OS X - Operating System
    Replies: 2
    Last Post: 10-04-2008, 04:48 PM
  4. Accessing/Mounting NFS shares
    By ear-lution in forum OS X - Operating System
    Replies: 1
    Last Post: 04-02-2008, 08:49 AM
  5. Mounting Windows Shares
    By protekcs in forum OS X - Operating System
    Replies: 4
    Last Post: 05-01-2005, 12:44 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •