Re: Inscrutable DiskCopy
Re: Inscrutable DiskCopy
- Subject: Re: Inscrutable DiskCopy
- From: Olivier Destrebecq <email@hidden>
- Date: Tue, 30 Oct 2001 10:46:27 -0600
this should help you
this will make an image of the folder project in a disk image named
image.img without signing, mounting and prezeroing of the image
olivier
tell disk copy
save alias "Antibes:Documents:Project:" in disk image (file
"Antibes:Documents:image.img") ,
using format NDIF Compressed logical blocks 3200 without image
signing, leave image mounted and zeroing
end tell
>
From: Brennan <email@hidden>
>
Date: Tue, 30 Oct 2001 02:55:47 +0100
>
To: applescript-users <email@hidden>
>
Subject: Inscrutable DiskCopy
>
>
I'm trying to make a script to convert a folder to a self-mounting-image, and
>
am having real trouble.
>
>
I can create a disk image (an empty one)
>
>
I can convert a disk image to a .SMI
>
>
The problem is getting the files over to the image after it is created.
>
>
>
>
There's a 'save' command in DiskCopy, which looks like it should do the right
>
thing, but I can't get it to work and can't find any docs anywhere.
>
>
When I tried using the Finder I had some trouble, but got it working. I'd
>
rather not use the Finder though, if at all possible.
>
>
Assistance please!
>
>
Strangely, along the way I tried recording the action, and I'm getting
>
>
copy selection to disk "mountedImage"
>
>
What???? According to the dictionary, 'copy' is something to do with the
>
clipboard, or to do with making duplicates of data. I thought 'duplicate' was
>
the appropriate terminology here.
>
>
>
>
Also, I keep coming up against references to 'DiskScripts' in relation to disk
>
images, which are apparently something unrelated to Applescripts, but might be
>
useful to me. Where can I find information about these puppies?
>
>
-Brennan
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users