[Squeak 4.0] Mac metadata, zip, and the shell?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[Squeak 4.0] Mac metadata, zip, and the shell?

Casey Ransberger
I noted when unzipping the Mac distribution of Squeak that there's a
directory __MACOSX which it would seem contains some metadata. I don't
know how to create this without using the Finder. I'd rather use the
shell, but the 'zip' command doesn't seem to create this metadata.

Does anyone know a way that I can avoid doing this manually?

--
Casey a.k.a Ron

Reply | Threaded
Open this post in threaded view
|

Re: [Squeak 4.0] Mac metadata, zip, and the shell?

Bert Freudenberg
On 08.03.2010, at 02:19, Ronald Spengler wrote:
>
> I noted when unzipping the Mac distribution of Squeak that there's a
> directory __MACOSX which it would seem contains some metadata. I don't
> know how to create this without using the Finder. I'd rather use the
> shell, but the 'zip' command doesn't seem to create this metadata.
>
> Does anyone know a way that I can avoid doing this manually?

If you can find a way avoiding these I'd say fine :)

AFAIK nothing in a Squeak release depends on this filesystem meta data, so leaving it out is the way to go.

But it's good you copied John, he will know for sure.

- Bert -



Reply | Threaded
Open this post in threaded view
|

Re: [Squeak 4.0] Mac metadata, zip, and the shell?

Casey Ransberger
If you're right, hooray! Because it's totally painless to use the
'zip' command to roll a zip file from the shell, which saves me a
maddening manual step. I'm going to move this way unless I hear from
John that it's an issue; AFAIK, __MACOSX is used to store useless crap
that will be automatically regenerated like image thumbnails, etc.,
but I do see it when I unpack the Mac archive from 3.10, so I want to
be sure.

On Monday, March 8, 2010, Bert Freudenberg <[hidden email]> wrote:

> On 08.03.2010, at 02:19, Ronald Spengler wrote:
>>
>> I noted when unzipping the Mac distribution of Squeak that there's a
>> directory __MACOSX which it would seem contains some metadata. I don't
>> know how to create this without using the Finder. I'd rather use the
>> shell, but the 'zip' command doesn't seem to create this metadata.
>>
>> Does anyone know a way that I can avoid doing this manually?
>
> If you can find a way avoiding these I'd say fine :)
>
> AFAIK nothing in a Squeak release depends on this filesystem meta data, so leaving it out is the way to go.
>
> But it's good you copied John, he will know for sure.
>
> - Bert -
>
>
>
>

--
Ron

Reply | Threaded
Open this post in threaded view
|

Re: [Squeak 4.0] Mac metadata, zip, and the shell?

Dave Raymer
Ron,

See http://discussions.apple.com/thread.jspa?messageID=7965382  for the requested information and options to avoid it.

regards,

Dave


On Mon, Mar 8, 2010 at 1:17 PM, Ronald Spengler <[hidden email]> wrote:
If you're right, hooray! Because it's totally painless to use the
'zip' command to roll a zip file from the shell, which saves me a
maddening manual step. I'm going to move this way unless I hear from
John that it's an issue; AFAIK, __MACOSX is used to store useless crap
that will be automatically regenerated like image thumbnails, etc.,
but I do see it when I unpack the Mac archive from 3.10, so I want to
be sure.

On Monday, March 8, 2010, Bert Freudenberg <[hidden email]> wrote:
> On 08.03.2010, at 02:19, Ronald Spengler wrote:
>>
>> I noted when unzipping the Mac distribution of Squeak that there's a
>> directory __MACOSX which it would seem contains some metadata. I don't
>> know how to create this without using the Finder. I'd rather use the
>> shell, but the 'zip' command doesn't seem to create this metadata.
>>
>> Does anyone know a way that I can avoid doing this manually?
>
> If you can find a way avoiding these I'd say fine :)
>
> AFAIK nothing in a Squeak release depends on this filesystem meta data, so leaving it out is the way to go.
>
> But it's good you copied John, he will know for sure.
>
> - Bert -
>
>
>
>

--
Ron




--
A man's greatest treasure is his wife, she is a gift from the Lord
- Proverbs 18:22


Reply | Threaded
Open this post in threaded view
|

Re: [Squeak 4.0] Mac metadata, zip, and the shell?

Casey Ransberger
Thanks Dave; I am using the zip command actually. I'm mostly curious
to find out if any of the metadata in __MACOSX is actually necessary;
it looks like the application directory has everything it actually
needs right in there. Main reason is, I want to be able to script with
the zip command, but it doesn't create the hidden directory.

What would be really helpful is if someone could install the mac vm
from the 4.0 alpha rc 1 directory on the FTP server onto a mac which
has not had squeak installed on it before. Then we'd know for sure
that the __MACOSX directory isn't necessary.

On Tuesday, March 9, 2010, Dave Raymer <[hidden email]> wrote:

> Ron,
> See http://discussions.apple.com/thread.jspa?messageID=7965382  for the requested information and options to avoid it.
>
> regards,
> Dave
>
> On Mon, Mar 8, 2010 at 1:17 PM, Ronald Spengler <[hidden email]> wrote:
> If you're right, hooray! Because it's totally painless to use the
> 'zip' command to roll a zip file from the shell, which saves me a
> maddening manual step. I'm going to move this way unless I hear from
> John that it's an issue; AFAIK, __MACOSX is used to store useless crap
> that will be automatically regenerated like image thumbnails, etc.,
> but I do see it when I unpack the Mac archive from 3.10, so I want to
> be sure.
>
> On Monday, March 8, 2010, Bert Freudenberg <[hidden email]> wrote:
>> On 08.03.2010, at 02:19, Ronald Spengler wrote:
>>>
>>> I noted when unzipping the Mac distribution of Squeak that there's a
>>> directory __MACOSX which it would seem contains some metadata. I don't
>>> know how to create this without using the Finder. I'd rather use the
>>> shell, but the 'zip' command doesn't seem to create this metadata.
>>>
>>> Does anyone know a way that I can avoid doing this manually?
>>
>> If you can find a way avoiding these I'd say fine :)
>>
>> AFAIK nothing in a Squeak release depends on this filesystem meta data, so leaving it out is the way to go.
>>
>> But it's good you copied John, he will know for sure.
>>
>> - Bert -
>>
>>
>>
>>
>
> --
> Ron
>
>
>
> --
> A man's greatest treasure is his wife, she is a gift from the Lord
> - Proverbs 18:22
>
>

--
Ron

Reply | Threaded
Open this post in threaded view
|

Re: [Squeak 4.0] Mac metadata, zip, and the shell?

johnmci
> __MACOSX is not needed.

speaking from the viewpoint of why the file exists....

On 2010-03-09, at 10:57 AM, Ronald Spengler wrote:

> Thanks Dave; I am using the zip command actually. I'm mostly curious
> to find out if any of the metadata in __MACOSX is actually necessary;
> it looks like the application directory has everything it actually
> needs right in there. Main reason is, I want to be able to script with
> the zip command, but it doesn't create the hidden directory.
>
> What would be really helpful is if someone could install the mac vm
> from the 4.0 alpha rc 1 directory on the FTP server onto a mac which
> has not had squeak installed on it before. Then we'd know for sure
> that the __MACOSX directory isn't necessary.
>

--
===========================================================================
John M. McIntosh <[hidden email]>   Twitter:  squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===========================================================================