Apple Script/Automator to mount all available drives?

Discussion in 'Mac Pro' started by Sharky II, May 16, 2017.

  1. Sharky II macrumors 6502a

    Sharky II

    Joined:
    Jan 6, 2004
    Location:
    United Kingdom
    #1
    Hi,

    I've set up an automator workflow/app to unmount 6 or 7 drives, leaving just 3 (of 9 or 10 total) when I boot up (login items). Some are internal, some are external.

    At the end of a day/session, I'd like to mount all drives at once, to perform backups/clones.

    I have iStat, I'm not using it at the moment - but I can mount drives from there, but it's one by one and not all at once. Same with Disk Utility.

    Is there an 'easy' way to mount all drives with one click? I can't seem to do it with an automator workflow.

    Cheers!

    Ed
     
  2. ActionableMango macrumors 604

    ActionableMango

    Joined:
    Sep 21, 2010
    #2
    I haven't actually done this, but in theory the following should work. Put a series of mount terminal commands, one for each drive, into a script. Have Automator run the script.
     

Share This Page