Re: Out of Control Aliases?
Re: Out of Control Aliases?
- Subject: Re: Out of Control Aliases?
- From: "koenig.yvan" <email@hidden>
- Date: Mon, 12 Nov 2012 20:36:59 +0100
Le 12/11/2012 à 19:45, Luther Fuller <email@hidden> a écrit :
> On Nov 10, 2012, at 4:46 PM, I wrote:
>
>> I have an AppleScripted application that constructs a folder in the Users Library/Application Support folder which contains folders containing aliases to folders and also contains some aliases to applications. This folder is installed in the Dock as a folder menu and contains 74 alias files pointing to Finder folders containing Mail messages.
>>
>> I just noticed that the size of this folder = 342.7 MB. In other words, about a third of a GigaByte just to keep track of my mail. This does seem largish.
>
> One more observation.
>
> The alias files discussed above are all about 3.9 MB files. For each of them, there is also an alias file located within the folder '~/Library/Mail/V2/Mailboxes/' within the appropriate .mbox folder that points to the same folder as the alias file in the Dock folder. I wondered if these alias files would also make this folder overly large. I was surprised to find that it was only 80 MB. When I checked on the size of the alias files, I found that each was only 1 MB (1,037,935 bytes). A few were half that size.
>
> I created a new "TEST" mailbox in Mail and created a link to a new folder using my MailWing application. This created two new alias files, one in the Dock menu and one in the '~/Library/Mail/V2/Mailboxes/TEST.mbox' folder. Both had a size of 3.9 MB.
>
> This test was done in Lion (10.7.5). The smaller alias files were made with an earlier OS: 10.4, 10.5, 10.6.
>
> I seems that new features have been added to alias files since OS 10.4, but I haven't the slightest clue about what they are. So, I have to ask … What are these features and are they really necessary?
>
The new format allow QuickLook to do its duty without spending bandwidth when the pointed files are stored on networks.
On my machine I tried to use ASObjC Runner to create "slim aliase".
Aliases using 1.7 Mbytes are replaced by 0.5 Mbytes slim aliases. They are quite of the same size than Unix links.
So, I decided to switch to symlinks which are using less than 100 bytes.
Yvan KOENIG (VALLAURIS, France) lundi 12 novembre 2012 20:36:09
_______________________________________________
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