20 responses

  1. bethy
    March 12, 2021

    I corrected the spelling on the last error (hdutil instead of hdiutil) and now get this:

    hdiutil: convert: only a single input file can be specified
    Usage: hdiutil convert -format -o [options]
    hdiutil convert -help

    Reply

  2. Arthur Robillard
    August 16, 2020

    Hello,
    I’m trying to make 90-(or so)minute audio CD’s (787 MB). If I have toast create a “disk image” of the type “enhanced audio CD”, which is the only way to keep toast from splitting the content into 2 CD’s after 79 minute capacity or so, it creates, as usual, a sd2f format, a file format I’m very familiar with having used Sound Designer II and it’s regions and playlists way back in the day. Is this or is this not a proper “disc image” for audio CD’s? How do I take such a file and burn it to a CD using hdiutil? Do I keep that extension or do I have to change it? I get “image not recognized” errors and whatnot.
    -Arthur

    Reply

  3. John Praveen
    March 25, 2017

    Its working ISO—>DMG

    Reply

  4. John Praveen
    March 25, 2017

    Good !!!
    Thanks allot…!
    Converting to ISO to DMG is working…

    Reply

  5. Eran
    June 11, 2016

    I don’t understand this part of the article:

    This tip is particularly useful if you have a CD/DVD burner on a Mac (or PC) and not a PC (or Mac) and you need to burn a disk image using the other machine.

    – Maybe someone can clarify

    Reply

    • bb great
      June 11, 2016

      Imagine: Your PC has a DVD burner. Your Mac does not. You can make the ISO on the Mac from a DMG to burn on the PC. That’s what that means. Or vice versa, of course.

      Reply

  6. Joe
    October 19, 2015

    The short version to my question is I am trying from my dvd to get an iso to Createspace which no longer accepts the master DVD and the cdr is a 4 gb file which is a huge 90 hour upload? help help help… my skill ended at burning the dvd and I do have both a DMG and a CDR file now but that is where i am stuck

    Reply

  7. Joe
    October 19, 2015

    Ok… one simple question… when I open terminal it has last login info
    So how do I designate the DMG file I want to change to Iso or do I just add your command in the terminal?

    Reply

    • Jack
      January 7, 2017

      Just paste it straight

      Reply

  8. windows or mac
    September 5, 2015

    hdiutil convert /path/imagefile.dmg -format UDTO -o /path/convertedima

    https://osxdaily.com/2009/09/09/convert-a-dmg-to-iso-and-convert-iso-to-dmg-on-mac/

    These are windows commands or MAC??? Plz confirm..

    Reply

    • Garbarski
      September 5, 2015

      The article is called “Convert a DMG to ISO and Convert ISO to DMG on Mac“, so it says ON MAC, what do you think is this for MAC?

      You should stick to Windows maybe?

      Reply

      • ea
        September 5, 2015

        Yes this works on Mac OS X, obviously.

        Reply

  9. senetrip
    July 31, 2015

    awesome.thank you

    Reply

  10. shiriajin
    April 19, 2014

    thanks a lot bro. worked!

    Reply

  11. AnnaMolly
    August 24, 2012

    Worked great, but my code looked more like

    hdiutil convert “/path/imagefile.iso” -format UDRW -o “/path/convertedimage.dmg”

    other wise it gave me an error “only a single input file can be selected”

    Reply

  12. ancgate
    April 4, 2012

    Great ans easy solutions. Don’t need to buy a software for that. Thanks for posting it.

    Reply

  13. ilovemac
    November 9, 2011

    gr8 solution

    Reply

  14. Anai
    May 25, 2011

    AWESOME! I love easy solutions. Thanks for posting this :)

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

`;e.insertAdjacentHTML(i,s)}return document.getElementById(t)}_repeatDynamicAds(t){const i=[],n=this._removeRecipeCapExperiment.result&&t.location===d.Recipe?99:this.locationMaxLazySequence.get(t.location),s=t.lazy?O(n,0):0,o=t.max,r=t.lazyMax,a=0===s&&t.lazy?o+r:Math.min(Math.max(s-t.sequence+1,0),o+r),l=Math.max(o,a);for(let n=0;n=o;i.push(e({},t,{sequence:s,lazy:r}))}}return i}_locationEnabled(e){const t=this._clsOptions.enabledLocations.includes(e.location),i=this._clsOptions.disableAds&&this._clsOptions.disableAds.all||document.body.classList.contains("adthrive-disable-all"),n=!document.body.classList.contains("adthrive-disable-content")&&!this._clsOptions.disableAds.reasons.has("content_plugin");return t&&!i&&n}constructor(e,t){this._clsOptions=e,this._adInjectionMap=t,this._recipeCount=0,this._mainContentHeight=0,this._mainContentDiv=null,this._totalAvailableElements=[],this._minDivHeight=250,this._densityDevice=u.Desktop,this._pubLog={onePerViewport:!1,targetDensity:0,targetDensityUnits:0,combinedMax:0},this._densityMax=.99,this._smallerIncrementAttempts=0,this._absoluteMinimumSpacingByDevice=250,this._usedAbsoluteMinimum=!1,this._infPageEndOffset=0,this.locationMaxLazySequence=new Map([[d.Recipe,5]]),this.locationToMinHeight={Below_Post:we,Content:we,Recipe:we,Sidebar:we};const{tablet:i,desktop:n}=this._clsOptions.siteAds.breakpoints;this._device=((e,t)=>{const i=window.innerWidth;return i>=t?"desktop":i>=e?"tablet":"phone"})(i,n),this._config=new ce(e),this._clsOptions.enabledLocations=this._config.enabledLocations,this._clsTargetAdDensitySiteExperiment=this._clsOptions.siteAds.siteExperiments?new be(this._clsOptions):null,this._stickyContainerAdsExperiment=new Ce,this._stickyContainerRecipeExperiment=new Oe,this._removeRecipeCapExperiment=new me}}function Ae(e,t){if(null==e)return{};var i,n,s={},o=Object.keys(e);for(n=0;n=0||(s[i]=e[i]);return s}class Ee{get enabled(){return!0}}class Pe extends Ee{setPotentialPlayersMap(){const e=this._videoConfig.players||[],t=this._filterPlayerMap(),i=e.filter((e=>"stationaryRelated"===e.type&&e.enabled));return t.stationaryRelated=i,this._potentialPlayerMap=t,this._potentialPlayerMap}_filterPlayerMap(){const e=this._videoConfig.players,t={stickyRelated:[],stickyPlaylist:[],stationaryRelated:[]};return e&&e.length?e.filter((e=>{var t;return null==(t=e.devices)?void 0:t.includes(this._device)})).reduce(((e,t)=>(e[t.type]||(C.event(this._component,"constructor","Unknown Video Player Type detected",t.type),e[t.type]=[]),t.enabled&&e[t.type].push(t),e)),t):t}_checkPlayerSelectorOnPage(e){const t=this._potentialPlayerMap[e].map((e=>({player:e,playerElement:this._getPlacementElement(e)})));return t.length?t[0]:{player:null,playerElement:null}}_getOverrideElement(e,t,i){if(e&&t){const n=document.createElement("div");t.insertAdjacentElement(e.position,n),i=n}else{const{player:e,playerElement:t}=this._checkPlayerSelectorOnPage("stickyPlaylist");if(e&&t){const n=document.createElement("div");t.insertAdjacentElement(e.position,n),i=n}}return i}_shouldOverrideElement(e){const t=e.getAttribute("override-embed");return"true"===t||"false"===t?"true"===t:!!this._videoConfig.relatedSettings&&this._videoConfig.relatedSettings.overrideEmbedLocation}_checkPageSelector(e,t,i=[]){if(e&&t&&0===i.length){return!("/"===window.location.pathname)&&C.event("VideoUtils","getPlacementElement",new Error(`PSNF: ${e} does not exist on the page`)),!1}return!0}_getElementSelector(e,t,i){return t&&t.length>i?t[i]:(C.event("VideoUtils","getPlacementElement",new Error(`ESNF: ${e} does not exist on the page`)),null)}_getPlacementElement(e){const{pageSelector:t,elementSelector:i,skip:n}=e,s=L(t),{valid:o,elements:r}=s,a=Ae(s,["valid","elements"]),l=M(i),{valid:c,elements:d}=l,u=Ae(l,["valid","elements"]);if(""!==t&&!o)return C.error("VideoUtils","getPlacementElement",new Error(`${t} is not a valid selector`),a),null;if(!c)return C.error("VideoUtils","getPlacementElement",new Error(`${i} is not a valid selector`),u),null;if(!this._checkPageSelector(t,o,r))return null;return this._getElementSelector(i,d,n)||null}_getEmbeddedPlayerType(e){let t=e.getAttribute("data-player-type");return t&&"default"!==t||(t=this._videoConfig.relatedSettings?this._videoConfig.relatedSettings.defaultPlayerType:"static"),this._stickyRelatedOnPage&&(t="static"),t}_getMediaId(e){const t=e.getAttribute("data-video-id");return!!t&&(this._relatedMediaIds.push(t),t)}_createRelatedPlayer(e,t,i,n){"collapse"===t?this._createCollapsePlayer(e,i):"static"===t&&this._createStaticPlayer(e,i,n)}_createCollapsePlayer(t,i){const{player:n,playerElement:s}=this._checkPlayerSelectorOnPage("stickyRelated"),o=n||this._potentialPlayerMap.stationaryRelated[0];if(o&&o.playerId){this._shouldOverrideElement(i)&&(i=this._getOverrideElement(n,s,i)),i=document.querySelector(`#cls-video-container-${t} > div`)||i,this._createStickyRelatedPlayer(e({},o,{mediaId:t}),i)}else C.error(this._component,"_createCollapsePlayer","No video player found")}_createStaticPlayer(t,i,n){if(this._potentialPlayerMap.stationaryRelated.length&&this._potentialPlayerMap.stationaryRelated[0].playerId){const s=this._potentialPlayerMap.stationaryRelated[0];this._createStationaryRelatedPlayer(e({},s,{mediaOrPlaylistId:t}),i,n)}else C.error(this._component,"_createStaticPlayer","No video player found")}_shouldRunAutoplayPlayers(){return!(!this._isVideoAllowedOnPage()||!this._potentialPlayerMap.stickyRelated.length&&!this._potentialPlayerMap.stickyPlaylist.length)}_determineAutoplayPlayers(){const e=this._component,t="VideoManagerComponent"===e,i=this._context;if(this._stickyRelatedOnPage)return void C.event(e,"stickyRelatedOnPage",t&&{device:i&&i.device,isDesktop:this._device}||{});const{player:n,playerElement:s}=this._checkPlayerSelectorOnPage("stickyPlaylist");n&&n.playerId&&n.playlistId&&s?this._createPlaylistPlayer(n,s):Math.random()<.01&&setTimeout((()=>{C.event(e,"noStickyPlaylist",t&&{vendor:"none",device:i&&i.device,isDesktop:this._device}||{})}),1e3)}_initializeRelatedPlayers(e){const t=new Map;for(let i=0;ie-t))}filterUsed(){this._map=this._map.filter((({dynamicAd:e})=>!e.used))}reset(){this._map=[]}constructor(){this._map=[]}}class Re extends De{}try{(()=>{const e=new B;e&&e.enabled&&(new xe(e,new Re).start(),new ke(new q(e),e).init())})()}catch(e){C.error("CLS","pluginsertion-iife",e),window.adthriveCLS&&(window.adthriveCLS.injectedFromPlugin=!1)}}();
Back to top
mobile desktop