SourceForge has been redesigned. Learn more.
Close

#126 More command line listing options - 4.61b

open
nobody
None
5
2008-11-29
2008-11-29
SimCutie
No

Patch to 7-zip version 4.61 beta for command line listing control.

The command line version of 7zip (7za.exe) has listing command. (Ex: 7za.exe l data.7z)
But it has only one listing format: full archive list in long listing format with 5 fields.

I added three listing control options

-k: Compact listing format: print only file path name field (5-th field)

Example) 7za.exe l -k np2src.7z
.......
Path name
------------------------------------
np2src\res\Next.bmp
np2src\res\Open.bmp
np2src\res\Pick.bm
.......
np2src\res
np2src
------------------------------------

1516787 529246 36 files, 3 folders

-jd, -jf : selective archive listing by type (directory/plain file)
Just list directories only ( -jd) or just list plain files only (-jf).
If both options are missing, it lists all files and folders.(original behavior)

Attached file is context diff patch file (text format) against 7-zip v4.61 beta source tree.

Any comment welcome.

Discussion

  • SimCutie

    SimCutie - 2008-11-29

    Context diff file against 7zip v.4.61 beta source

     
  • SimCutie

    SimCutie - 2008-11-29
    • summary: More commmand line listing options - 4.61b --> More command line listing options - 4.61b
     

Log in to post a comment.