Re: Question about zipping files
Re: Question about zipping files
- Subject: Re: Question about zipping files
- From: cocoa learner <email@hidden>
- Date: Mon, 15 Feb 2010 12:24:40 +0530
>
> 1. Use NSTask to create a zip file, passing in as arguments all the
> filenames to zip. My question about this would be whether I would run into
> any restrictions with the length of the command which well be beyond the old
> 1024 character limits (not sure if any command line argument limits are
> still extant). I would think this would be the most efficient way to do it
> (both time and memory/storage wise), so long as there are no limitations on
> command line length.
>
> *Which option would be the best to go with?*
I would recommend the first one. Create an array of selected files and pass
those to NSTask.
>
>
>
> Advice would be most welcome.
>
> Thx
>
> Gideon_______________________________________________
>
> 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
>
_______________________________________________
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