New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Apps and Games Discussion of applications and games available for Mac OS X.

Automating Disk Utility from Command Line


Post Reply New Thread Subscribe

 
Thread Tools
aspencer

 
Member Since: Oct 15, 2009
Posts: 5
aspencer is an unknown at this point

aspencer is offline
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.
QUOTE Thanks
aspencer

 
Member Since: Oct 15, 2009
Posts: 5
aspencer is an unknown at this point

aspencer is offline
Anoyone?
QUOTE Thanks
technologist

 
Member Since: Mar 30, 2004
Location: USA
Posts: 4,744
technologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond repute
Mac Specs: 12" Apple PowerBook G4 (1.5GHz)

technologist is offline
diskutil(8) Mac OS X Manual Page
QUOTE Thanks
chas_m

 
chas_m's Avatar
 
Member Since: Jan 22, 2010
Location: Victoria, BC
Posts: 17,528
chas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond repute
Mac Specs: Mid-2012 MBP (16GB, 1TB HD), BenQ second monitor, iPhone 5s 32GB, iPad Air 2 64GB

chas_m is offline
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.
QUOTE Thanks
aspencer

 
Member Since: Oct 15, 2009
Posts: 5
aspencer is an unknown at this point

aspencer is offline
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
QUOTE Thanks
Jamie-Jamie

 
Member Since: Feb 25, 2010
Posts: 481
Jamie-Jamie is a jewel in the roughJamie-Jamie is a jewel in the rough
Mac Specs: Mac Pro, Power Mac G4, iMac G3, iPhone 3GS

Jamie-Jamie is offline
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.
QUOTE Thanks
aspencer

 
Member Since: Oct 15, 2009
Posts: 5
aspencer is an unknown at this point

aspencer is offline
Jamie-jamie,

ever heard of sarcasm?
QUOTE Thanks

Post Reply New Thread Subscribe


« Asian fonts in preview? | Problems Gaming via Bootcamp »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
alterative to disk utility for formatting external hard drive cardamom OS X - Operating System 2 09-12-2009 08:25 PM
256 bit ASE encryption using disk utility question.. volta88 OS X - Operating System 3 08-29-2009 07:34 PM
Need a bootable disk with disk utility hatstand OS X - Operating System 1 08-05-2009 05:55 AM
help! Disk utility wont verify or repair disk dexport Apple Notebooks 1 11-16-2008 04:49 PM
Can't install Boot Camp-Says Verification failed, Disk Utility won't repair markw10 Running Windows (or anything else) on your Mac 6 12-26-2006 07:56 PM

All times are GMT -4. The time now is 12:43 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?