Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Bulk convert DMGs to 'Internet enabled' format' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Bulk convert DMGs to 'Internet enabled' format
Authored by: JoeGrind on Mar 21, '03 10:34:42AM
I guess this is too little too late for the author of this comment, but the command line 'find' tool is very underutilized.

find . -name \*.dmg -exec hdiutil internet-enable -yes {} \;

That will find all *.dmg files in a directory (and subdirectories) and run that internet-enabling thing.

[ Reply to This | # ]
Bulk convert DMGs to 'Internet enabled' format
Authored by: filburt1 on Mar 21, '03 11:14:10AM

The "Internet-enabled" reference is probably to things like Safari which now automatically mount/unstuff files when downloaded.



[ Reply to This | # ]
Bulk convert DMGs to 'Internet enabled' format
Authored by: fredcondo on Mar 21, '03 12:36:31PM

You should quote the {} and must quote the ;

find . -name *.dmg -exec hdiutil internet-enable -yes "{}" \;

[ Reply to This | # ]
Bulk convert DMGs to 'Internet enabled' format
Authored by: JoeGrind on Mar 21, '03 03:30:23PM

Ahh.. Right you are. The html posting took that out.



[ Reply to This | # ]
Use the new tag...
Authored by: robg on Mar 21, '03 07:15:41PM

Use the [ code ] and [ /code ] tag pair (without the space inside the brackets, and Geeklog will leave all of the backslashes and angle brackets alone.

It's a pain, still, but better than it used to be.

-rob.



[ Reply to This | # ]
Use the new tag...
Authored by: mech_filter on Mar 22, '03 07:52:41AM

Wandering off-topic, but <CODE> is hardly "new". It's been part of HTML since before I was using HTML. And that began ca. Dec. 1993... Heh.



[ Reply to This | # ]

Use the new tag...
Authored by: Spartacus on Mar 22, '03 10:15:30AM

If you read carefully, you'd have noticed he talked about [ code ], not < CODE >. While the latter is HTML, the former is a feature of GeekLog (and of other software like UBB or phpBB). If Rob says it's new, I'd believe him. It's his website after all.



[ Reply to This | # ]
Bulk convert DMGs to 'Internet enabled' format
Authored by: ajmas on Mar 22, '03 09:37:45AM
There should be a backslash before the semi-colon:

find . -name *.dmg -exec hdiutil internet-enable -yes "{}" \;

I have never needed to use the quotes when using the -exec command, though I will take you word for it.

[ Reply to This | # ]

Bulk convert DMGs to 'Internet enabled' format
Authored by: mech_filter on Mar 22, '03 07:49:37AM

Yes, I know, but that require remembering a complex commandline. I
like just typicing "hdi-ie [wilcards&filenames]" (yeah, I made an alias so
I don't even have to type the ".sh" extension on the script. Lazy, lazy,
lazy!



[ Reply to This | # ]