Menu

Suggestion to 7-zip developer: command line - compressing all files in a folder without subfolder

Joe2012
2014-09-16
2014-09-21
  • Joe2012

    Joe2012 - 2014-09-16

    Hi, 7-zip developer Igor Pavlov.
    First, thanks for your wanderful free tool.
    It would be usefull to enable in the command line to compress all files in a folder without subfolder. At current version there is a switch for that as I remember, but it doesn't work as far as I tried and as far as I read from other users.

    Thanks,
    Joe

     
    • Igor Pavlov

      Igor Pavlov - 2014-09-16

      7z a c:\a.7z * -x!*\

       
  • Rajiv

    Rajiv - 2014-09-21

    Greetings!

    A batch file coded for Tally Data Backup is being enclosed herewith for your reference to address the issue of "Duplicate File Name in Different Sub-Directories" occurs with ABK.900.

    @List.TXT

    C:\Tally.ERP9\Data\10000\ABK.900
    C:\Users\Public\Tally.ERP9\Data\00011\ABK.900
    C:\Users\Public\Tally.ERP9\Data\00012\ABK.900
    C:\Program Files\Tally.ERP9\tallycfg.tsf
    C:\Program Files\Tally.ERP9\stat.900


    The batch file has coded for both 7-Zip and WinRAR due to similar command and switches. However, the aforesaid issue is not with WinRAR.

    Therefore, you are kind requested to update binaries of the 7-Zip to work flawlessly as WinRAR does.

    Thanks & Regards!
    Rajiv

     
  • Igor Pavlov

    Igor Pavlov - 2014-09-21

    You can use 7-Zip 9.34 alpha and -spf or -spf2 switch.

     

    Last edit: Igor Pavlov 2014-09-21

Log in to post a comment.