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

[Feature request] A MultiArc friendly fs ls output #844

Open
GL1zdA opened this issue Jun 14, 2024 · 1 comment
Open

[Feature request] A MultiArc friendly fs ls output #844

GL1zdA opened this issue Jun 14, 2024 · 1 comment

Comments

@GL1zdA
Copy link

GL1zdA commented Jun 14, 2024

Type

Improvement to output...

Description

Aaru could be easily integrated with the Total Commander MultiArc plug-in or with Double Commander archive handling, if it supported a MultiArc friendly output. Basically a single line per file/directory with full path at the end of the line.

Double Commander provides documentation, of what attributes are parsed. Most attributes require output of known length, there's some flexibility for compressed/uncompressed sizes and file paths.

Here's an example of what 7z outputs and what is easily parsed: 7z.txt

Context

I often browse my disc images and extract single files from them. On Windows, I typically do it via Total Commander and its ISO plug-in, which works fine 99% of the time, for the remaining I launch an external program. On Linux on the other hand, my best option so far was Double Commander which calls 7z to list the contents. Unfortunately, 7zip CD image support is rudimentary, and it fails on the common bin/cue format.

The integration between Double Commander and 7z is done by parsing it's output, similar to the MultiArc Total Commander plugin. The plugin takes the output from 7z list command and generates a file hierarchy.

I thought, I could use Aaru similarly, but unfortunately its output can't be parsed, since the parsers expect at maximum two lines per file, work best for single line outputs and expect a full path.

Documentation

No response

@claunia
Copy link
Collaborator

claunia commented Jun 14, 2024

Feature request accepted.

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

No branches or pull requests

2 participants