Results 1 to 7 of 7
  1. #1


    Member Since
    Oct 15, 2009
    Posts
    5
    Automating Disk Utility from Command Line
    Hi Guys,

    I run a MAC with several partitions set up, each containing various versions of MAC OSX for testing purposes.

    I also have a nother partition that I use for admin purposes to erase and restore the other partitions from various images I have of them. I use disk utility for this, but it relies on me having to sit in front of the MAC and wait for them to erase and resotre before starting the next partition. At 40-60 minutes oer partition, this is very time costly.

    Is there a way to automate this using the command line, or a script so I can just set it going overnight and return when It has completed?

    Thanks.

  2. #2


    Member Since
    Oct 15, 2009
    Posts
    5
    Anoyone?

  3. #3


    Member Since
    Mar 30, 2004
    Location
    USA
    Posts
    4,744
    Specs:
    12" Apple PowerBook G4 (1.5GHz)

  4. #4


    Member Since
    Jan 22, 2010
    Location
    Victoria, BC
    Posts
    20,911
    Specs:
    Mid-2012 MBP (16GB, 1TB HD), Monoprice 24-inch second monitor, iPhone 5s 32GB, iPad Air 2 64GB
    A Mac is short for "Macintosh." It's not an acronym, thus it should not be capitalised.

    To put it another way:
    mac: a waterproof raincoat made of rubberized fabric
    MAC: a data communication protocol sub-layer, also known as the Media Access Control
    Mac: a brand name which covers several lines of personal computers designed, developed, and marketed by Apple Inc.

    Ditto for iPod.

  5. #5


    Member Since
    Oct 15, 2009
    Posts
    5
    Thanks for the help technologist.

    Chas_m, thanks, i'll be sure to use that in future when I'm looking for more help with my MAC

  6. #6


    Member Since
    Feb 25, 2010
    Posts
    481
    Specs:
    Mac Pro, Power Mac G4, iMac G3, iPhone 3GS
    Quote Originally Posted by aspencer View Post
    Chas_m, thanks, i'll be sure to use that in future when I'm looking for more help with my MAC
    Hon, please. It's not a "MAC." It's a Macintosh. It actually makes some of us cringe to see it consistently written in all caps as though it's similar to "PC." I refer you once more to Chas' post...

    Quote Originally Posted by chas_m View Post
    A Mac is short for "Macintosh." It's not an acronym, thus it should not be capitalised.

    To put it another way:
    mac: a waterproof raincoat made of rubberized fabric
    MAC: a data communication protocol sub-layer, also known as the Media Access Control
    Mac: a brand name which covers several lines of personal computers designed, developed, and marketed by Apple Inc.

    Ditto for iPod.

  7. #7


    Member Since
    Oct 15, 2009
    Posts
    5
    Jamie-jamie,

    ever heard of sarcasm?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Compare OS X command line to Linux command line?
    By V6Pony in forum OS X - Development and Darwin
    Replies: 5
    Last Post: 09-26-2013, 01:32 PM
  2. Accessing an encrypted Disk Image (sparseimage) from command line
    By caprice150 in forum OS X - Operating System
    Replies: 2
    Last Post: 04-04-2013, 04:06 AM
  3. Is there a command line like this?
    By Downy in forum OS X - Operating System
    Replies: 13
    Last Post: 02-27-2011, 05:29 PM
  4. Replies: 0
    Last Post: 05-31-2010, 12:46 AM
  5. Command line arguments
    By presenter in forum OS X - Development and Darwin
    Replies: 0
    Last Post: 06-02-2005, 01:37 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
  •