All Questions

Tagged with
Filter by
Sorted by
Tagged with
0
votes
1answer
348 views

Check automatically if a drive is mounted

I'd like to automate my family backups, specifically I'd like to run a shell script (with rsync) when an external drive is connected. Since it's a family thing, it should be also sort of GUI driven, ...
0
votes
0answers
41 views

Applescript to turn HDDs off during day, and back on at night

I figure I should ask my first question, I'm curious to see how an Applescript could control my HDD that my TimeMachine is backed-up on to un-mount during the day, and back on before the scheduled ...
2
votes
1answer
734 views

How to mount a .sparsebundle after External Hard drive mounts

I have an external hard drive, with which there is a .sparsebundle that I use for TimeMachine backups. I want to automatically mount this .sparsebundle after the external Drive mounts. I've tried ...
3
votes
2answers
68 views

map network drives

I need to get a script that would map network drives based on a person's user name (we use AD to allow access). It used to work prior to 10.10. We have a new Mac lab that is running 10.12.6. The old ...
2
votes
1answer
129 views

Wondering if there's a way to get rid of an error in Apple Script to mount server

I was wondering if anyone could help me with this. Sorry for the noob question. I recently created a script to automatically mount a Time Machine image in a hard drive connected to my router. For the ...
4
votes
1answer
683 views

Mount shared drives with different users

I have a Mac (Sierra with 1 user account) and a Synology NAS (DSM 6.0 with 2 user accounts), and I'd like to mount shares for both accounts on my Mac. So I wrote that script (and set it as startup ...
2
votes
1answer
144 views

Constant script/application for shared drive checking/mounting

I'm wondering where's a good place to start for this problem. I believe it might be achieved using apple script but admittedly I don't know its capabilities. Scenario: I have a NAS which I log in to ...
11
votes
2answers
13k views

macOS Sierra: AppleScript mount volume keeps asking for login

For several OS X versions I've used: /usr/bin/osascript -e mount volume "smb://yourserver" as user name "yourusername" with password “yourpassword” This has worked great, a nice and quiet mount of ...
1
vote
2answers
3k views

How to mount and name a volume if it's not already mounted with a startup script

I'm trying to do something I thought would be simple, but after researching it I feel like I'm half way towards shaving a yak, so I'm asking for advice. I want to create a script that lets me and my ...
1
vote
2answers
132 views

AppleScript for Dropbox on External HD

Disclaimer: I don't know much AppleScript, but I am a bit of a programmer, so you can go a little technical on me. I am looking for a solution to the issue of putting Dropbox on an external HD. ...
2
votes
3answers
1k views

How do I mount a network drive based on my IP address or wifi network?

When I am at work, I mount a number of shared drives to use during the day. At home, I mount drives on my home network for home use. Is there a way that I can automatically mount the correct drives ...
2
votes
1answer
185 views

Unique volname for DMGs

We have a build process that is now doing the common layout for distributed DMGs. This is done in a way that I've seen in many places -- the DMG is attached, then Finder does its job via osascript. ...
11
votes
6answers
17k views

How to run Applescript on Disk mount

I want to run an Applescript when I mount a specific disk. It isn't if the script is located on the disk or not, it should just run when OS X mounts the disk. I tried to accomplish this with folder ...