登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

一粒浮尘

飘渺虚无

 
 
 

日志

 
 

Ubuntu Quicktip - Converting Mac .dmg images into .iso images  

2010-05-28 23:40:08|  分类: Ubuntu |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |


Tue, Jan 23, 2007

LinuxQuicktipsUbuntu

Talk about it in our Forums

I recently came across a handy script that allows you to convert a Mac OSX or Apple’s iPod (iPod firmware generated images) to standard .iso files.

You’ll need to have perl installed. Also, you may need to add an additional dependency in the form of a perl zlib module. So, here’s how to install it:

sudo apt-get install libcompress-zlib-perl

cd /usr/bin

sudo wget http://www.blinkenlights.ch/gnupod/dmg2iso.pl

Now, in my Ubuntu install I had to make one change to the dmg2iso.pl script.

sudo gedit dmg2iso.pl

At the very top you should see a line that says ‘#!/usr/local/bin/perl‘. This tells the script where to find perl. On my installation, perl is located in ‘/usr/bin/perl‘. So change that line if you need to.

Now let’s make it excecutable.

sudo chmod 777 dmg2iso.pl

Back to your home directory now.

cd

If you have a .dmg file in your home directory (or any directory) called bloodspell.dmg, and you want to convert it to a .iso file you can type:

dmg2iso.pl bloodspell.dmg bloodspell.iso

The script will take care of the rest.

  评论这张
 
阅读(471)| 评论(0)

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2018