Results 1 to 4 of 4

Thread: Where i can found a zip tool which creates the same file/size/crc in other OS?

  1. #1
    Member
    Join Date
    Feb 2017
    Location
    none
    Posts
    25
    Thanks
    6
    Thanked 13 Times in 6 Posts

    Where i can found a zip tool which creates the same file/size/crc in other OS?

    Hi!
    I remember a zip program wich can create a zip file with the same CRC/size no matter where you using that tool, actually i tried to compress a buch of files with 7zip 16.04 (64 bits) and zip 3.00 in Linux and in Windows but the final files don't have the same size, even i tried to stored the files but i get different results

    Example:
    wine zip.exe -rq -D -X -0 -A testwindows.zip *.txt
    zip -rq -D -X -0 -A testlinux.zip *.txt

    md5sum *.zip

    725d46abb1b87e574a439db15b1ba506 testlinux.zip
    70df8fe8d0371bf26a263593351dd112 testwindows.zip

    As i said i remember a zip program (i don't know the name) who the author said that the result was always the same regardless of the platform (win, linux...)

  2. #2
    Member ivan2k2's Avatar
    Join Date
    Nov 2012
    Location
    Russia
    Posts
    47
    Thanks
    15
    Thanked 8 Times in 5 Posts
    1) try to compess non-textual files and check results
    2) try to compress your text files with -ll or -l option and check results

  3. #3
    Administrator Shelwien's Avatar
    Join Date
    May 2008
    Location
    Kharkov, Ukraine
    Posts
    3,982
    Thanks
    298
    Thanked 1,309 Times in 745 Posts
    Windows and linux actually have different file attributes, so you'd need a hacked zip which doesn't store attributes, otherwise normally it won't happen.
    You can try using a zip built under cygwin/msys2 on windows side, but even these would have different default unix attributes (eg. cygwin shows 0770 for windows files),
    and possibly also custom defines for cygwin which would make them use winapi.

  4. #4
    Member
    Join Date
    Jun 2018
    Location
    Yugoslavia
    Posts
    65
    Thanks
    8
    Thanked 5 Times in 5 Posts
    file timestamps are stored also, and iirc they differ in NTFS and other filesystems

Similar Threads

  1. is there 7-zip smart dictionary size tool ?
    By SvenBent in forum Data Compression
    Replies: 7
    Last Post: 17th September 2020, 13:47
  2. Fast CRC table construction and rolling CRC hash calculation
    By Bulat Ziganshin in forum Data Compression
    Replies: 10
    Last Post: 27th May 2018, 03:32
  3. CHK 1.02 - file analysis tool
    By encode in forum Data Compression
    Replies: 6
    Last Post: 24th July 2011, 15:46
  4. which tool has the samllest size/orignal size * time
    By l1t in forum Data Compression
    Replies: 7
    Last Post: 27th August 2010, 06:10
  5. Mounting a .zip file
    By jaclaz in forum Data Compression
    Replies: 7
    Last Post: 24th November 2008, 03:54

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •