I'm writing a shell script that needs to compress a dir with the same options that are set from the Mac GUI when you do a "right click -> Compress". From what I understand ditto is the right tool for the job, but what flags do I need to pass besides "-c"? I've tried raw "-c" as well as "-c -k" and both give different results from the right click.
What flags do I need to pass to ditto to mimic the behavior of "right click -> Compress"?
214 views Asked by Tony Z At
1
According to "man ditto",