Tuesday, August 6, 2024

Sinclair QL: InfoZIP zip & unzip

Every time I want to create a zip file in my QL I have the same problem: I can't remember how to do.

Unzip is very easy if you have the Toolkit II:

ew unzip;"-d<destinationfolder> <pathtothezipfile>"

But zip is a different story because I use it from time to time and because it doesn't need the '-b' option to know where it has to create the new zip file

ew zip;"<nameofnewzipfile> <pathtothefoldercontainingfiles>*"

example:

ew win1_zip,"win1_newarchive_zip win1_files_*"

or with folder recursivity: 

ew win1_zip;"-r win1_myarchive_zip flp2_*"

Anyway, there is no need to specify the extension _zip to the name of the archive, Info-ZIP will add by itelf.

No comments: