Have you got any suggestions?
Marco
Thanks,
Rob
task = [[NSTask alloc] init];
//set executable path
[task setLaunchPath:@"/usr/local/bin/xar"];
//set dir of files
[task setCurrentDirectoryPath:absolutePath];
[arguments addObject:@"-cf"];
[arguments addObject:destination];
//add files name
en = [arrayOfFiles objectEnumerator];
while(object = [en nextObject])
[arguments addObject:[object lastPathComponent]];
[task setArguments:arguments];
[task launch];
Thanks
Marco
@"--exclude=.*/\\..*"
Marco