Вход на сайт

Просмотр новости

Найдите то, что Вас интересует

Simple unzip CLI tool for Windows

Дата публикации: 02-07-2026 04:16:47


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.
4 posts - 2 participants
Read full topic

Схожие новости

#Наименование новостиТональностьИнформативностьДата публикации
1[Project Announcement] tinyxml2-rs: A high-performance, drop-in Rust implementation of TinyXML25701-07-2026
2Maplike - Crate with traits for abstract containers and operations on them2706-07-2026
3Looking for contributors: Rust transparent proxy & protocol parsing project5708-07-2026
4lzbench 2.30516-06-2026
5Announcing logisheets-rs: a Rust spreadsheet engine with XLSX support7807-07-2026
6Chainything : A DAG-based pipeline execution engine & visual UI (with AI generation)2729-06-2026
7LiberSystem - the new OS written in Rust0507-07-2026
8Проект rars подготовил свободную реализацию RAR с поддержкой создания архивов5825-06-2026
9Раскрыты эксплоиты для 23 неисправленных уязвимостей в FFmpeg, VLC, Firefox, Docker, PHP, OpenVPN, nmap, libssh2, nghttp2 и 7zip0728-06-2026
10ZXC 0.12.05723-06-2026

Классификация: . Схожих патентов: 0. Схожих новостей: 10. Тональность: 2. Информативность: 6. Источник: users.rust-lang.org.