martyd
10-08-2008, 08:34 AM
I am trying to use jZip 1.3.0.51241 command line to archive a set of log files. Some of these files are open for writing. jZip stops at the first one, reporting that it is locked, and prompts for retry (which tries the same file again, with the same result) or cancel (which stops the entire operation). The file itself can be read with another application, such as Notepad.
I looked at all of the switches, but I did not see anything that seemed to apply. Is there any way I can tell jZip to archive "locked" files anyway? Failing that, is there any way I can tell jZip to ignore errors on a multi-file add and continue (without prompting me)? I have no way to tell which files are open, so explicitly excluding them on the command line is not something I can do.
Thanks for the help.
I looked at all of the switches, but I did not see anything that seemed to apply. Is there any way I can tell jZip to archive "locked" files anyway? Failing that, is there any way I can tell jZip to ignore errors on a multi-file add and continue (without prompting me)? I have no way to tell which files are open, so explicitly excluding them on the command line is not something I can do.
Thanks for the help.