Version 3 of Starkit Meet Zip

Updated 2002-09-17 06:03:41

starkit meet zip file

This is just another wow feature. There are gems just waiting to be picked up in starkits, and here is one that I found while reading "./lib/vfs/zipvfs.tcl" You can do that by inspecting your new starkit.

Now I don't know what this feature is for exactly, but I do know how it can be used:

  package require zipvfs
  set f [vfs::zip::Mount myzip.zip myzip.zip]

Now you can go into the myzip.zip directory (that is all emulated via tclvfs beautifully) and you can do all the regular things on files.

Wow your friends by unzipping without a zip program:

  file copy myzip.zip unzip

My computer grinds for a bit then lookee lookee, I've uncompressed the zip file to an unzip/ dir.

Then unmount the file with:

  vfs::zip::Unmount $f myzip.zip

Sexy Starkits

Category Tclkit