Show unix file attributes in listing
A free file archiver for extremely high compression
Brought to you by:
ipavlov
Show unix file attributes i listing
7-zip displays file attributes as dos/windows regardless what they actually are.
As example:
% 7z l a3.7z
Date Time Attr Size Compressed Name
------------------- ----- ------------ ------------ ------------------------
2023-02-24 09:23:52 D.H.. 0 0 .conf
2024-04-30 18:48:12 D.... 0 0 info
2023-12-17 18:50:14 ....A 54 3251 0.bat
2024-05-05 19:18:52 ....A 7859 1.txt
2024-04-30 18:48:12 ....A 3284 2.txt
2023-02-24 09:23:52 .R..A 52 56 .conf/.desc
2024-04-30 18:48:12 ....A 511 2919 info/index.html
2024-04-30 18:48:12 ....A 9343 info/info1.doc
2024-04-30 18:48:12 ....A 2573 info/style.css
It would be more logical and beneficial, not only for unix users, if it displayed actual attributes, not some made up ones.
For example:
% 7z l a3.7z
Date Time Attr Size Compressed Name
------------------- ----- ------------ ------------ ------------------------
2023-02-24 09:23:52 D.H.. 0 0 .conf
2024-04-30 18:48:12 d0755 0 0 info
2023-12-17 18:50:14 ....A 54 3251 0.bat
2024-05-05 19:18:52 ....A 7859 1.txt
2024-04-30 18:48:12 ....A 3284 2.txt
2023-02-24 09:23:52 .R..A 52 56 .conf/.desc
2024-04-30 18:48:12 .0644 511 2919 info/index.html
2024-04-30 18:48:12 .0644 9343 info/info1.doc
2024-04-30 18:48:12 .0644 2573 info/style.css
This way it would show actual unix attributes without changing layout of listing. It's important for scripts and addons/plugins like MultiArc that use fixed layout.
Exact same way of presenting attributes is used by zpaq.
% zpaq l a3.zpaq
- 2023-02-24 09:23:52 52 HD .conf/
- 2023-02-24 09:23:52 52 RHA .conf/.desc
- 2023-12-17 18:50:14 54 A 0.bat
- 2024-05-05 19:18:52 7859 A 1.txt
- 2024-04-30 18:48:12 3284 A 2.txt
- 2024-04-30 18:48:12 12427 d0755 info/
- 2024-04-30 18:48:12 511 0644 info/index.html
- 2024-04-30 18:48:12 9343 0644 info/info1.doc
- 2024-04-30 18:48:12 2573 0644 info/style.css
It's fine and everyone understands it.
Not bad idea.
I would consider adding '/' at the end of directory names.
Then, It would look like this:
Technically, It wouldn't change anything except adding visual clue which name is directory and also informing script or plugins about that, so they didn't have to process attributes, or giving then double check.