jubako / arx

Store files and directory in an archive. Like tar, but faster and with direct random access.
MIT License
151 stars 2 forks source link

Q? Options for arx list verbose and STABLE_OUTPUT #54

Open father-mande opened 2 months ago

father-mande commented 2 months ago

Hi, 1 can you explain possible value (and result) for arx list ARCHIVE --stable-output STABLE_OUTPUT ... I have test somethings without success and I am to poor in rust to search in the code.

2 -v seems to do nothing for arx list ... I have try it to get more information on file and folder archived (I compare even incorrect at the v in tar tvf that add uid/gid access right size, cdate ... I think is linked to index saved to don't need to access all files.

Philippe.

mgautierfr commented 2 months ago

1 can you explain possible value (and result) for arx list ARCHIVE --stable-output STABLE_OUTPUT ... I have test somethings without success and I am to poor in rust to search in the code.

--stable-output is, as the name implies, an listing where the format is stable over time. This is mainly intended for scripting. It is currently used only by gnome file-roller, and only with in this fork which must be merged upstream. The STABLE_OUTPUT value is some kind of versioning. Only version 1 exists. The purpose is to be able to modify the stable output while staying stable. If we need to change the output to add information or else, we would use the version 2, version 1 being unmodified.

2 -v seems to do nothing for arx list ... I have try it to get more information on file and folder archived (I compare even incorrect at the v in tar tvf that add uid/gid access right size, cdate ... I think is linked to index saved to don't need to access all files.

Verbose option was initially used for "debug" output. I have moved this under the env var ARX_LOG but the verbose option stayed. We may indeed extend the listing output based on verbose option.