Menu

#798 Packed Size errors

open
nobody
None
5
2014-08-21
2008-02-08
Anonymous
No

I am using 7zip 4.57.

When looking at a .7z archive file that I just created using the 7zip file manager, I noticed that the "Packed size" column is usually blank.

Well, the folders all have the same value 0.

But only 1 of the files has a value in this column (for this particular archive file), the rest are blank.

I would really like to see values filled in for all the files, so that way I could delete some of the fluff and get the overall archive file down to an acceptable size.

As it is, this bug is a show stopper, forcing me to go back to winzip (whose packed size column always displays).

Discussion

  • Shell

    Shell - 2008-02-16

    Logged In: YES
    user_id=1860247
    Originator: NO

    It is not an error, but rather an implementation feature of .7z format. 7-Zip stores (I guess) packed size for entire solid blocks, which you see as the packed size of the first file in the block. Haven't you noticed that you may pack a small file into several megabytes? :-)

    If you want to see packed size for every file, you should either disable solid archiving in 7-Zip (Solid block size: Non-solid) or choose another archive format. You need not to switch to WinZIP since 7-Zip file manager allows creating ZIP archives (and sometimes with better compression!).

    If you want to benefit from solid archiving, you may try RAR or ACE, which both store packed size in solid mode as well. Alternatively, you may wish to change default 7-Zip parameters to reduce your archive, dictionary size in the first place. The manual describes some useful tips.

     
  • Henry N.

    Henry N. - 2008-03-23

    Logged In: YES
    user_id=579204
    Originator: NO

    The same problem on command line under Linux.
    (But not all archives. RAR archives are listened ok.)

    Example1:
    # 7z l Ubuntu-7.10.ext3.2GB.7z

    7-Zip 4.57 Copyright (c) 1999-2007 Igor Pavlov 2007-12-06
    p7zip Version 4.57 (locale=C,Utf16=off,HugeFiles=on,2 CPUs)

    Listing archive: Ubuntu-7.10.ext3.2GB.7z

    Method = LZMA
    Solid = +
    Blocks = 1

    Date Time Attr Size Compressed Name
    ------------------- ----- ------------ ------------ ------------------------
    2008-03-15 18:12:45 ....A 983 55296708 readme.txt
    2008-03-15 17:37:28 ....A 131072 swap128.fs
    2008-03-15 20:52:36 ....A 2147483648 Ubuntu-7.10.ext3.2gb.fs
    ------------------- ----- ------------ ------------ ------------------------
    2147615703 55296708 3 files, 0 folders

    full Example 2:
    # ls -l notes-7.10.txt swap128.fs upload-7.10.txt
    -rw-r--r-- 1 hn users 2259 Mar 15 23:44 notes-7.10.txt
    -rw-rw-r-- 1 hn root 131072 Mar 15 17:37 swap128.fs
    -rw-r--r-- 1 hn users 2987 Mar 15 23:45 upload-7.10.txt

    # 7z a test.7z notes-7.10.txt swap128.fs upload-7.10.txt

    7-Zip 4.57 Copyright (c) 1999-2007 Igor Pavlov 2007-12-06
    p7zip Version 4.57 (locale=C,Utf16=off,HugeFiles=on,2 CPUs)
    Scanning

    Creating archive test.7z

    Compressing notes-7.10.txt
    Compressing upload-7.10.txt
    Compressing swap128.fs

    Everything is Ok

    # ls -l test.7z
    -rw------- 1 hn users 2371 Mar 23 18:28 test.7z

    # 7z l test.7z

    7-Zip 4.57 Copyright (c) 1999-2007 Igor Pavlov 2007-12-06
    p7zip Version 4.57 (locale=C,Utf16=off,HugeFiles=on,2 CPUs)

    Listing archive: test.7z

    Method = LZMA
    Solid = +
    Blocks = 1

    Date Time Attr Size Compressed Name
    ------------------- ----- ------------ ------------ ------------------------
    2008-03-15 23:44:35 ....A 2259 2153 notes-7.10.txt
    2008-03-15 23:45:21 ....A 2987 upload-7.10.txt
    2008-03-15 17:37:28 ....A 131072 swap128.fs
    ------------------- ----- ------------ ------------ ------------------------
    136318 2153 3 files, 0 folders

    # 7z l -slt test.7z

    7-Zip 4.57 Copyright (c) 1999-2007 Igor Pavlov 2007-12-06
    p7zip Version 4.57 (locale=C,Utf16=off,HugeFiles=on,2 CPUs)

    Listing archive: test.7z

    Method = LZMA
    Solid = +
    Blocks = 1
    ----------

    Path = notes-7.10.txt
    Size = 2259
    Packed Size = 2153
    Modified = 2008-03-15 23:44:35
    Attributes = ....A
    CRC = 2F608576
    Method = LZMA:192k
    Block = 0

    Path = upload-7.10.txt
    Size = 2987
    Packed Size =
    Modified = 2008-03-15 23:45:21
    Attributes = ....A
    CRC = 5AB40128
    Method = LZMA:192k
    Block = 0

    Path = swap128.fs
    Size = 131072
    Packed Size =
    Modified = 2008-03-15 17:37:28
    Attributes = ....A
    CRC = 6F6D3758
    Method = LZMA:192k
    Block = 0

     
  • Henry N.

    Henry N. - 2008-03-23

    Logged In: YES
    user_id=579204
    Originator: NO

    Oh, sorry have nor seen the answer.
    Yes, with "-ms=off" can see the size per file.

     

Log in to post a comment.