I do have a NAS and I do have several shares on that device and … I just got freakin’ tired of going through each step over and over again. In Finder, a server doesn’t always appear right away, we need to go through a list of shares on a given “server”, get confused if we need SMB, CIFS, FTP, SSH, WebDAV, NFS or AFP, and I’m not even mentioning the need to enter a username and password on protected shares.Īdditionally, Wake On Lan is being supported as well. Unfortunately, at times anyway, it can be rather cumbersome under Mac OS X to connect to those “ shares” (also known as the so called mounted “ Volumes“). Some of us have network shares on their computers, want to access company network shares, or have a dedicated file server or NAS ( Network Attached Storage) to store our shared information or make our backups. Any help would be greatly appreciated.In this day and age we are more network connected than ever before – at home and at work. Additionally, when I open iTunes my library is viewable, however I can only play 45 seconds of a track before iTunes shuts down. I'm confused since the share will mount through the finder, but not the script. Clicking on "Music" mounts the drive, and it shows up on the desktop since finder preferences is set to show connected servers on the desktop. Clicking on it all, all my shares are available. sudo chown root:staff /Scripts/mount.shĥ) From a fresh restart, if I run /Scripts/mount.sh from Terminal, I get the following:Ħ) I have finder preferences set to show shared connected servers and see Tower. Included is a copy of my mount.sh file.ġ) Create a folder called "Scripts" on the root of your hard drive, and copied mount.sh to /Macintosh HD/ScriptsĢ) Created LaunchAgents folder and copied to *Username*/Library/LaunchAgents folder. I've read through this entire thread, and still can't get it to work. I saved an old copy of my mount.sh file and used it to populate a new fresh copy downloaded from the original post (used TextWrangler). I've been successful so far, except for getting this working. I installed a new SSD, performed a clean install of 10.11, and have been trying to manually restore all my settings/files versus a TM backup to ensure everything is clean. Recent problems with my macbook resulted in a trip to the Genius bar and a recommendation to perform a clean install. I was running this successfully for the last few years, including after an upgrade to El Capitan. Hoping someone can provide some guidance. Love this! Thanks again for everyone's efforts on this. Put everything in place and iTunes opened right up and I've been playing music uninterrupted since. I gave up and re-imported all my iTunes files and the old mount files off the old drive. Script runs perfectly after you fix that. "Do you want iTunes open?") and make sure there are plain double quotes (") instead of fancy double quotes (”). Go through all the areas where you might have modified an option (e.g. Then I installed SublimeText, opened the script, and noticed the syntax highlighting was all screwed up after a certain line. The machine I was editing the script on didn't have anything else, so I used TextEdit. I think it comes down to TextEdit just being an awful option for editing code. I came across this issue last night and happened upon this thread so I figured I'd throw you a bone. Scripts/mount.sh: line 216: [: =: unary operator expected Scripts/mount.sh: line 205: [: =: unary operator expected Scripts/mount.sh: line 191: [: =: unary operator expected Scripts/mount.sh: line 84: edit: command not found Simons-MacBook-Pro:~ simonosborne$ /Scripts/mount.sh What does this mean, and what have I done wrong to cause this error? When I run '/Scripts/mount.sh' I get the result below. I am struggling getting this script working.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |