Menu

#2111 defects: 7z.exe a,e,x commands only do full dir trees, not specified subtrees and files

None
open-rejected
nobody
None
5
2018-04-18
2018-02-22
No

7z.exe a,e,x commands only do full dir trees, not specified subtrees and files.
has not worked in a long time. -ai doesn't work either, still throws error.

this has gone largely ignored for more than a year and focus has gone on to improving compression rather than fixing the commandline and GUI user interface, which does not work correctly. we do need to do partial backups and partial restores with this thing called 7z.exe and the gui version.

start by fixing the commandline bugs. commandline is great for starting parallel jobs. and I need this to package my software, in parallel (and I don't mean -mmt).

for example, watch what happens when you do this:

7z a somefile.7z dir1\somefile somefile2 dir1\somefile3 dir1\dir2, dir1\dir
3\dir4\

actual: a,e,x commands do entire tree of files, not what I asked for.
expected: a,e,x commands should do only the directories I asked for after the archive name.

Discussion

  • Jim Michaels

    Jim Michaels - 2018-02-22
    .
    dir1/dir2
    dir1/dir3/dir4
    

    is all the dirs you need

     

    Last edit: Jim Michaels 2018-02-22
  • Jim Michaels

    Jim Michaels - 2018-02-22

    why does a 700-byte .cmd file take 1 minute on a fast machine to compress?

     
  • Igor Pavlov

    Igor Pavlov - 2018-02-22
    • status: open --> open-rejected
    • Group: -->
     
  • Igor Pavlov

    Igor Pavlov - 2018-02-22

    Not a BUG.
    Think about such cases:
    You select "C:\Program Files" item in explorer and ask to compress it. What do you expect?
    And similar command from command line:

    7z a c:\1.7z "C:\Program Files"
    

    What do you expect?

     
  • Jim Michaels

    Jim Michaels - 2018-04-13

    I am talking about the seemingly inappropriate length of time. is there a Sleep() in the program?

     
  • Igor Pavlov

    Igor Pavlov - 2018-04-14

    Show your command.

     
  • Jim Michaels

    Jim Michaels - 2018-04-18

    ummm...

    7z a somefile.7z somefile1 somefile2 dir1 dir2
    7z x somefile.7z somefile1 somefile2 dir1 dir2
    7z e somefile.7z somefile1 somefile2 dir1\somefile dir2\ dir3
    
     

Log in to post a comment.