ZipToZero (WCX packer plugin: store file name only with size=0 to archive) Zero-byte file

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

User avatar
tbeu
Power Member
Power Member
Posts: 1336
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Re: Plugin request - ZipToZero (WCX packer plugin: store file name only to archive)

Post by *tbeu »

Phred wrote: 2019-11-20, 08:48 UTCI'm finding that that resultant zip file doesn't retain the zip0 extension displayed in the dialogue box before the zipping action.
Is this intentional?
Yes, renaming to .zip extension is intentional.
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
User avatar
tbeu
Power Member
Power Member
Posts: 1336
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Re: Plugin request - ZipToZero (WCX packer plugin: store file name only to archive)

Post by *tbeu »

Zip2Zero 1.0.1.0 is now available.
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
User avatar
Phred
Senior Member
Senior Member
Posts: 375
Joined: 2009-06-16, 15:24 UTC
Location: SEAu

Re: ZipToZero (WCX packer plugin: store file name only with size=0 to archive) Zero-byte file

Post by *Phred »

Highly recommended when you want files that take up no space at all, for example, to have a list of files that might lie elsewhere but to which you want an immediate reference locally - occupying 0 bytes.
Zip2Zero 'packs' filenames into a zip file (of negligible size) - it's trivial then to copy the 'contents', those phantom filenames, out to a folder.
Regards, PhredE
Licence holder since 1999
Awaiting a $D donors-token for the title-bar so we can display that we have donated further.
anand
Junior Member
Junior Member
Posts: 5
Joined: 2017-05-17, 10:34 UTC

Re: ZipToZero (WCX packer plugin: store file name only with size=0 to archive) Zero-byte file

Post by *anand »

Thanks for Zip2Zero, tbeu

Is there any option to zip only folders ?
i.e. do not include files.
Regards,

Anand
User avatar
tbeu
Power Member
Power Member
Posts: 1336
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Re: ZipToZero (WCX packer plugin: store file name only with size=0 to archive) Zero-byte file

Post by *tbeu »

anand wrote: 2021-05-30, 10:55 UTC Is there any option to zip only folders ?
i.e. do not include files.
No, that's not yet supported, but might be a nice addition.
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
mrle
Junior Member
Junior Member
Posts: 58
Joined: 2005-04-25, 21:44 UTC

Re: Plugin request - ZipToZero (WCX packer plugin: store file name only to archive)

Post by *mrle »

Phred wrote: 2019-11-20, 09:10 UTC
Choose zip0 each time you use it; it isn't remembered.
It is remembered! (At least with the current version of the plugin.) This is very bad.

At the next packing:

1) In "Pack Files" dialog box, the (ordinary) zip remains ticked
2) In drop down list, zip0 remains selected
3) Press "OK" button
4) The result is an "empty" zip archive with zip extension

Very confusing. Is this jumping point in "Pack Files" dialog necessarily?
User avatar
Phred
Senior Member
Senior Member
Posts: 375
Joined: 2009-06-16, 15:24 UTC
Location: SEAu

Re: ZipToZero (WCX packer plugin: store file name only with size=0 to archive) Zero-byte file

Post by *Phred »

Yes, I seem to remember that happening, mrle. Maybe that's what I meant.
You can at the next pack, inadvertently create an empty zip.
zip0 IS remembered, and I don't believe it should be.
Regards, PhredE
Licence holder since 1999
Awaiting a $D donors-token for the title-bar so we can display that we have donated further.
Post Reply