Nathan (gemsling) wrote,
gemsling and multipart/appledouble

Theresa sent me an 8Mb file, and I've just noticed (from looking at my backup log) that Apple Mail has stored two copies of the file in the place it keeps attachments. Nothing to do with the weird seeing-double thing she described when sending it, but odd all the same.

Why store two copies? I looked in the message source and found "multipart/appledouble", which led me to finally understanding the meaning of that "Send Windows Friendly Attachments" checkbox.

Check the box and it will strip the resource fork and just send the file itself; which these days, is all that is required for most files. Uncheck the box and it sends a multipart/appledouble message which contains both the data and resource forks.

Judging by the size, has stored a combined file based on the message, plus a version of the file without the resource fork. It also stores a file with just the resource fork. Surely it doesn't need to use 16Mb for a single 8Mb file, but I guess disk is cheap these days.

So now I understand the "Windows Friendly" bit, and note that it's possible to turn it on by default, which I have done.
Tags: tech

  • Stymied by a generous download quota

    All I want to do is run a simple Perl script. But... It requires Net::DNS. Fortunately, Net::DNS can be easily installed by using the CPAN…

  • Computing cost and elapsed time

    Okay, I admit that opening a file 14334 times to see if it has a line matching the current item may not be the most efficient thing to do. In…

  • Local countdown

    nathanj@pecan.local> 11:59pm [~/]: date Sat 31 Dec 2011 23:59:55 EST nathanj@pecan.local> 11:59pm [~/]: date Sat 31 Dec 2011 23:59:56 EST…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded