1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

ZIP

Discussion in 'Support' started by Christian Albaret, Mar 30, 2015.

  1. Christian Albaret

    Joined:
    Jul 1, 2008
    Messages:
    158
    Likes Received:
    1
    When adding repeatedly with ZIP/U, the size of the .zip archive may vary — which I can work with.

    The size may become larger than the total size of the added files — which I don't like so much.
    In one case (the .zip archive is a "backup" of a directory, i-e the list of files doesn't change much nor does their size):
    - the .zip archive was 258,735 bytes large,
    - after ZIP/U, the .zip archive is 876,470 bytes large, although the files themselves amount for 279,394 bytes on disk.
    ZIP/V and IZArc give no clue, one simply sees the expected list of files, with size and compression rate.

    When I ran some tests, I tried to keep only the files with a name starting with 'A'.
    Code:
    ZIP /D myzip [B-Z]*
    
    starts deleting files in ASCII order (starting at 'B'), but at some place (about 'Q' or 'S' depending on the exact run) deletes the .zip archive itself. Running
    Code:
    ZIP /D myzip B*
    
    and then for each letter up to 'Z', correctly leaves the .zip archive with the 4 files starting with 'A'.
     

Share This Page