Mac – iMac 1TB Seagate Hard Drive Replacement Utility Check

The title of this post just rolls off the tongue.

I wrote a Ruby CLI utility that can batch check iMac serial numbers for their eligibility into the 1 TB Seagate HDD replacement program. The utility takes either an Excel sheet (xlsx, or xls), or a txt file as an argument. If you’re using an Excel sheet you’ll first need to:

  • Install the roo RubyGem:

sudo gem update --system
sudo gem install roo

  • Format your spreadsheet properly:
    • Serial numbers need to be in column A and start on row 2.
    • Anything can be in column B but it would be best if it’s something identifiable such as hostnames, or IP addresses.

If you’re using a txt file then you only need to make sure it contains one column of serial numbers. You can grab a copy of the utility from my Github page:

https://github.com/Ginja/Admin_Scripts/blob/master/iMac_Warranty_Check.rb

If you run into any problems or have any questions please let me know! I hope it helps.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s