Menu

Is zip version 20 supported ?

kun she
2024-09-09
2024-09-09
  • kun she

    kun she - 2024-09-09

    I need to compress some files into zip with version 20, is it supported by latest version?
    I cannot find description about any command line parameters related in help contents.
    If it is supported, can anyone give an example for this, thanks anyway.

     
  • Igor Pavlov

    Igor Pavlov - 2024-09-09

    version 20 is deflate.
    it's default mode for 7-zip.
    but 7-zip also adds NTFS extra for NTFS UTC Modified time.
    But another zip will ignore that NTFS extra, if they don't support it.
    You can disable NTFS extra with -mtp2 switch:

    7z a -mtp2 a.zip *.txt 
    

    Also archive can contain UTF8 file name extra.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.