• 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: Where are my bytes hiding?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where are my bytes hiding?


  • Subject: Re: Where are my bytes hiding?
  • From: Jens Alfke <email@hidden>
  • Date: Thu, 05 May 2016 12:37:09 -0700

> On May 5, 2016, at 12:01 PM, Martin Wierschin <email@hidden> wrote:
>
> Is there any way a user file might be compressed in such a way through normal user actions?

Yes, there are various user-level utilities for compressing files, like Clusters (http://clustersapp.com <http://clustersapp.com/>). The `ditto` tool also has a flag for compressing the destination file (--compress, I think).

Theoretically anything on an HFS+ volume can be compressed, except for a few files in /System that need to be read early at boot before the file-compression subsystem comes online.

I looked around a bit but couldn’t find any info about an API for compressing files. I’d be leery of constructing those extended attributes or resource forks myself. I suppose one could use NSTask to invoke `ditto`.

—Jens
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Where are my bytes hiding? (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: Where are my bytes hiding? (From: "Stephen J. Butler" <email@hidden>)
 >Re: Where are my bytes hiding? (From: Martin Wierschin <email@hidden>)

  • Prev by Date: Re: Where are my bytes hiding?
  • Next by Date: Re: Very basic need, very difficult to achieve.
  • Previous by thread: Re: Where are my bytes hiding?
  • Next by thread: Re: Where are my bytes hiding?
  • Index(es):
    • Date
    • Thread