Re: OS X and RegEx Commands
Re: OS X and RegEx Commands
- Subject: Re: OS X and RegEx Commands
- From: Simon Forster <email@hidden>
- Date: Tue, 2 Dec 2003 16:33:07 +0000
On 1 Dec 2003, at 22:45, Walter Ian Kaye wrote:
Anyone got a script to create .dmg.gz files?
No.
But fire up your terminal and look at "man hdiutil". The command you're
after seems to be:
hdiutil create -srcfolder mydir mydir.dmg
And it's just created a disk image for me with gratifying speed
(obviously with a change of file paths).
What else did you want?
Ah. "man gzip" for further info.
'Cause I'm bit of a shell script neophyte, I'd do two "do script"
commands - the first to make the disk image, the second to compress it.
Maybe someone such as Doug McNutt can tell us whether we should be
piping, redirecting or whatevering hdiutil's output to do it all in one
do script statement?
HTH
Simon Forster
____________________________________________
LDML Ltd, 62 Pall Mall, London, SW1Y 5HZ, UK
Tel: +44 (0)70 9230 5244 Fax: +44 (0)70 9230 5247
____________________________________________
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.