• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Modify file type/creator from AS?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Modify file type/creator from AS?


  • Subject: Re: Modify file type/creator from AS?
  • From: "Mark J. Reed" <email@hidden>
  • Date: Thu, 8 May 2008 08:30:01 -0400

I don't know where [GS]etFileInfo live; I installed the dev tools but
still don't have them in my path.  No biggie, macperl works for that
(e.g. perl -MMacPerl=:all -e 'SetFileInfo "abcd","wxyz", "filename"'
).  I was looking for the AS technique not because I didn't have other
means, but so I could create a droplet my client could use in the
future.

This current batch I'm reconstructing all at once and putting on a
dvd, so I can use pretty much any sort of automation tool...

I'll file a bug for sure.  This is very non-Mackish behavior.



On 5/8/08, Doug McNutt <email@hidden> wrote:
> At 00:43 -0400 5/8/08, Mark J. Reed wrote:
>>Thanks!  Any other tips for reconstructing a file from separate
>>data/resource forks?  The info and creator are in the resource fork,
>>but copying it to filename/rsrc doesn't set them, unfortunately.
>>Doesn't look like ditto will do what I"m looking for.  Ironically,
>>there's a Linux utility that will do the trick but it doesn't seem to
>>be available for OS X, at least not via fink or macports.
>
> Type and creator are not normally IN the resource fork. They are metadata in
> the Apple filing system
>
> You may need MacBinary conversion. That was a procedure for adding the
> metadata to the resource fork for storage on peecee or UNIX file systems.
> Metadata, resource fork, and data fork were all combined into a single file
> which was often converted to 7 bit format to create a BINHEX file.
>
> AppleDouble is a MIME format that uses two files; AppleSingle is the one
> file version. Both are essentially MacBinary files.
>
> Stuffit once handled MacBinary conversions. Modem software also handled it.
>
> And don't forget the SetFile and GetFileInfo tools.
>
>
> --
>
> --> From the U S of A, the only socialist country that refuses to admit it.
> <--
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden
>

--
Sent from Gmail for mobile | mobile.google.com

Mark J. Reed <email@hidden>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Modify file type/creator from AS? (From: "Mark J. Reed" <email@hidden>)
 >Re: Modify file type/creator from AS? (From: Tim Mansour <email@hidden>)
 >Re: Modify file type/creator from AS? (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: Modify file type/creator from AS?
  • Next by Date: ASKInitialize(); and Code
  • Previous by thread: Re: Modify file type/creator from AS?
  • Next by thread: ASKInitialize(); and Code
  • Index(es):
    • Date
    • Thread