aaru-dps/Aaru

[Feature request] A MultiArc friendly fs ls output

Opened this issue · 1 comments

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

Feature request accepted.