[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: What to do with a MacBinary attachment



On Mon, Feb 07, 2005 at 08:39:38PM -0500, Patrick Wiseman wrote:
> On Tue, 8 Feb 2005 11:43:23 +1030, David Purton <dcpurton@chariot.net.au> wrote:
> > On Mon, Feb 07, 2005 at 07:57:20PM -0500, Patrick Wiseman wrote:
> > > Is there anything I can do with a MacBinary file?  It contains
> > > pictures (jpeg, I think).  I googled and found mcvert, but it just
> > > converts to binhex, which is just as inscrutable!
> > >
> > 
> > Nah - read the man page for mcvert. going to binhex is just the default.
> > You can get the data and resource forks as well.
> 
> Actually, the default is to convert BinHex to MacBinary.  I guess
> "data and resource forks" means something to a Mac user, but it means
> nothing to me.  How do I just extract the pictures?
> 
> I used 'mcvert -d filename' and got 'filename.bin'.  In other words,
> nothing was extracted; the file was just converted from the 8-bit
> MacBinary format to the 7-bit BinHex format.  I have read the mcvert
> man page, several times now, and maybe I'm just dense, but I don't see
> how it _extracts_, I only see that it _converts_ (from one
> inaccessible format to another).
> 

use the -U (upload command MacBinary -> Other)

eg.

mcvert -bU somefile.bin

this will give you somefile.data and somefile.rsrc

somefile.data will contain the data - your guess is a jpg
somefile.rsrc will give the mac resource fork

cheers

dc

-- 
David Purton
dcpurton@chariot.net.au
 
For the eyes of the LORD range throughout the earth to
strengthen those whose hearts are fully committed to him.
                                 2 Chronicles 16:9a

Attachment: signature.asc
Description: Digital signature


Reply to: