Simple unzip CLI tool for Windows

⚓ Rust    📅 2026-07-02    👤 surdeus    👁️ 1      

surdeus

I found a post about absolutely fabulous utility for manipulating zip files - zippy. Indeed, Windows 11 doesn't include unzip utility, and you need to use the Explorer to unzip a file. It's fine as long as you do not need to write scripts. Since I learn Rust, I decided to write such utility. My bad, because if I used the site search, I would just get zippy earlier, and used it.

Usage: zipdir [opts] <file> [<content_file>...]
Where opts are:
/e, /-extract
		Extract file if its size is less the max.
/h
		This help screen
/l, /-list
		Show the archive directory
/m number, /-max number
		Max size (in meg) of an extracted file. Should be specified with
		with -e. Default 32MB.
/o string, /-outdir string
		Output directory for extracted files.
/v
		Version of the product
/w, /-overwrite
		Overwrite existing files.
/x, /-exclude
		Provided content entry patterns are considered for exclusion from
		extraction.

I wrote the small utility, not AI. So quality can be low and for the reason, I ask to review its code and give some feedback. Thank you for your time.

1 post - 1 participant

Read full topic

🏷️ Rust_feed