[X-Unix] Panther "Archive" from command-line?
Stephen Jonke
sjj_public at mac.com
Fri Jul 16 11:25:14 PDT 2004
After asking the question, the possible solution occurred to me - you
can run BOMArchiveHelper from the command-line, although no useful man
or help exists. I just tried running it with the file to zip as an
argument and indeed that produces a .cpgz file that preserves resource
forks. I.e.:
/./System/Library/CoreServices/BOMArchiveHelper.app/Contents/MacOS/
BOMArchiveHelper somefile_to_archive
However, from trial and error, it seems that this will only work if
someone is logged into the computer (the GUI, that is) and you are that
user (at the command line). You get an error about window server
interaction if not, and sudo didn't seem to work around this. So...
this still isn't the uber solution.
Steve
More information about the X-Unix
mailing list