Re: Question about zipping files

2010-02-16 Thread Sean McBride
On 2/15/10 4:50 PM, Gideon King said: Thanks for the suggestion. Have not encountered Scripting Bridge before and have very little experience or understanding of AppleScript and no knowledge of Apple Events or what they do. I had a vague notion that Apple Events were pretty much old technology

Re: Question about zipping files

2010-02-15 Thread Greg Guerin
Gideon King wrote: 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

Question about zipping files

2010-02-14 Thread Gideon King
Hi, I have a need to zip a selection of files from a folder. Sometimes the number of files may be in the hundreds, and sometimes some of the files may be multiple gigabytes in size. I need them to be referenced from a specific base folder in the hierarchy. Deployment is 10.5+ From what I can

Re: Question about zipping files

2010-02-14 Thread Sean McBride
Gideon King (gid...@novamind.com) on 2010-02-15 00:28 said: Hi, I have a need to zip a selection of files from a folder. ... Are there any other options that I'm not aware of? NSWorkspaceCompressOperation? Sounds promising, right? But the docs say This operation always returns an error?

Re: Question about zipping files

2010-02-14 Thread Jens Alfke
On Feb 14, 2010, at 9:28 PM, Gideon King wrote: 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

Re: Question about zipping files

2010-02-14 Thread Gideon King
Thanks for the suggestion. Have not encountered Scripting Bridge before and have very little experience or understanding of AppleScript and no knowledge of Apple Events or what they do. I had a vague notion that Apple Events were pretty much old technology from before OSX, but now I see that it

Re: Question about zipping files

2010-02-14 Thread cocoa learner
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