Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extensibility of file types; en- and disable them for a call #55

Open
phmarek opened this issue Jan 26, 2024 · 1 comment
Open

Extensibility of file types; en- and disable them for a call #55

phmarek opened this issue Jan 26, 2024 · 1 comment

Comments

@phmarek
Copy link

phmarek commented Jan 26, 2024

Thanks for this tool!

It would be great if it could use additional configuration (/etc/dtrx.conf or a .d directory) to specify how to extract other kinds of data - like .jar, .odt, .docx, etc.

Then it might be useful to enable/disable recursive extraction of these for individual calls - sometimes I want to extract everything (virus scanning), other times text data (.odt) should be ignored.

@phmarek
Copy link
Author

phmarek commented Jan 26, 2024

Ah, I see that it already does extract .jar. Great!

The only small problem I see is that dtrx -r -v ... only reports local filenames - eg. when extracting a .deb I get a paragraph for changelog.gz to changelog, but there's no hint which changelog (from which directory) this comes from.

That might matter if some archive contains multiple files with the same name in different directories - ie. an x.zip containing g/y.zip and h/y.zip, then the output lines (sub-structure) for the y.zips can't be associated.

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

No branches or pull requests

1 participant