Skip to content

Add archive dir decompress#1008

Open
senylar wants to merge 2 commits into
ouch-org:mainfrom
senylar:add-archive-dir-decompress
Open

Add archive dir decompress#1008
senylar wants to merge 2 commits into
ouch-org:mainfrom
senylar:add-archive-dir-decompress

Conversation

@senylar

@senylar senylar commented Jun 11, 2026

Copy link
Copy Markdown

Summary

Adds a new --archive-dir / -a option for ouch decompress.

When decompressing an archive without --dir, this extracts the archive next to the input archive into a basename-derived directory. When combined with --dir, it extracts into a basename-derived directory under the chosen output directory.

Examples

ouch decompress summer_vacation.zip -a
ouch decompress summer_vacation.zip -a --dir pictures

@valoq

valoq commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

Extract each archive into a directory named after the archive

I'm confused. This is already how the default decompress behaves, isn't it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants