#34 Show symlinks in '7z l -slt' output

open
nobody
None
5
2015-05-16
2012-08-02
No

I use Linux and '7z l -slt' ouput does not show the "Link =" line for 7z archives while it does not tar archives. I tried to implement the support for showing that line for 7z but by what I could figure out I would need to extract the file to read the symlink's target. The attached patch prints the line 'IsLink = true' instead, I would like to have this patch (or an improved version) added so that we can implement better handling of 7z archives using KDE's Ark program.

Discussion

  • Philippe Ombredanne

    The latest 9.38.1 displays hardlinks and symlinks targets.
    So this bug should be closed IMHO.
    This is a simple output of the attached test tar archive:

    Path = 1-LNKTYPE
    Folder = -
    Size = 0
    Packed Size = 0
    Modified = 2004-07-21 06:09:21
    Mode = 0rw-r--r--
    User = tarfile
    Group = tarfile
    Symbolic Link =
    Hard Link = 0-REGTYPE
    
    Path = 2-SYMTYPE
    Folder = -
    Size = 17
    Packed Size = 0
    Modified = 2004-07-21 06:09:21
    Mode = 0rwxrwxrwx
    User = tarfile
    Group = tarfile
    Symbolic Link = testtar/0-REGTYPE
    Hard Link =
    
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks