If you want command line version, you can try infozip zip/unzip. J already uses it to unzip addon packages.
On Sun, Mar 14, 2021, 5:51 AM Devon McCormick <[email protected]> wrote: > Yes, I could but it's simpler if the zip code handles all that. > > On Sat, Mar 13, 2021 at 4:17 PM Jo van Schalkwyk <[email protected]> > wrote: > > > Speaking from a position of ignorance, could you not (a) request the > > password in J; (b) dynamically create the code with the embedded > password; > > and (c) then execute this 'from the command line' (i.e. invoke as a shell > > script from within J)? > > > > My 2c, Dr Jo. > > > > On Sun, 14 Mar 2021 at 10:04, Devon McCormick <[email protected]> > wrote: > > > > > OK - now I remember why 7-zip does not work for me. The command line > > > version requires me to embed the password in my code and the GUI > version > > > does not support passwords. However, I found I have a copy of WinZip32 > > > from 1998 that does just what I need. > > > > > > I still would like to get a version that I could drive from J which > would > > > give me finer control so I could do something like encrypt the file > > before > > > I zip it with a password. > > > > > > On Fri, Mar 12, 2021 at 11:25 PM Devon McCormick <[email protected]> > > > wrote: > > > > > > > I have 7-zip and it has been suggested before. Now that I consider > it, > > > it > > > > may be just what I need. > > > > Thanks! > > > > > > > > On Fri, Mar 12, 2021 at 10:29 PM Jo van Schalkwyk < > > > [email protected]> > > > > wrote: > > > > > > > >> Have you tried 7-zip? My 2c, Dr Jo. > > > >> > > > >> On Sat, 13 Mar 2021 at 16:04, Devon McCormick <[email protected]> > > > wrote: > > > >> > > > >> > Has anyone used the "ziptrees" addon in J? Or the code at > > > >> > https://github.com/jsoftware/arc_zip? I'm asking because the > > former > > > >> fails > > > >> > when I try to load it because it requires "arc/zip/zipfiles" which > > > >> appears > > > >> > to be absent. > > > >> > > > > >> > I'm trying to get away from my use of WinZip because it costs > money > > > but > > > >> > mostly because it keeps changing which forces me to change my code > > > which > > > >> > uses it. Also, the most recent version I purchased is noticeably > > > slower > > > >> > than it used to be. I would welcome something old and stale that > is > > > >> > unlikely to change, as long as it supports some sort of > encryption. > > > >> > > > > >> > Also, something in the J world would reduce my reliance on a > > > third-party > > > >> > package. > > > >> > > > > >> > Thanks for any tips! > > > >> > > > > >> > Devon > > > >> > -- > > > >> > > > > >> > Devon McCormick, CFA > > > >> > > > > >> > Quantitative Consultant > > > >> > > > ---------------------------------------------------------------------- > > > >> > For information about J forums see > > > http://www.jsoftware.com/forums.htm > > > >> > > > > >> > ---------------------------------------------------------------------- > > > >> For information about J forums see > > http://www.jsoftware.com/forums.htm > > > >> > > > > > > > > > > > > -- > > > > > > > > Devon McCormick, CFA > > > > > > > > Quantitative Consultant > > > > > > > > > > > > > > -- > > > > > > Devon McCormick, CFA > > > > > > Quantitative Consultant > > > ---------------------------------------------------------------------- > > > For information about J forums see http://www.jsoftware.com/forums.htm > > > > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > > > > -- > > Devon McCormick, CFA > > Quantitative Consultant > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
