Menu

#1147 "*" wildcard matches backslash

closed-rejected
nobody
None
5
2025-05-16
2010-10-09
LogicDaemon
No

File operations (list, add, extract) with "*" wildcard are always recursive, regardless -r- or -r0.

d:\Temp\7z>7z l 7z.7z
<cut>
2010-10-09 11:10:04 ....A 4 16 123.dir\456.dir\123
2010-10-09 11:10:07 ....A 4 123.dir\123
2010-10-09 11:10:10 ....A 4 123
2010-10-09 11:10:04 ....A 4 123.dir\456.dir\456
2010-10-09 11:10:07 ....A 4 123.dir\456
2010-10-09 11:10:10 ....A 4 456
2010-10-09 11:10:04 ....A 4 123.dir\456.dir\789
2010-10-09 11:10:07 ....A 4 123.dir\789
2010-10-09 11:10:10 ....A 4 789
2010-10-09 11:10:58 D.... 0 0 123.dir\456.dir
2010-10-09 11:30:20 D.... 0 0 123.dir
------------------- ----- ------------ ------------ ------------------------

d:\Temp\7z>7z l 7z.7z "123*"
<cut>
2010-10-09 11:10:04 ....A 4 16 123.dir\456.dir\123
2010-10-09 11:10:07 ....A 4 123.dir\123
2010-10-09 11:10:10 ....A 4 123
2010-10-09 11:10:04 ....A 4 123.dir\456.dir\456
2010-10-09 11:10:07 ....A 4 123.dir\456
2010-10-09 11:10:04 ....A 4 123.dir\456.dir\789
2010-10-09 11:10:07 ....A 4 123.dir\789
2010-10-09 11:10:58 D.... 0 0 123.dir\456.dir
2010-10-09 11:30:20 D.... 0 0 123.dir
------------------- ----- ------------ ------------ ------------------------

the same effect is with local filesystem.

And it's impossible for now to list/extract/add files from a directory without subrirectories.

Discussion

  • LogicDaemon

    LogicDaemon - 2010-10-09

    Recursion test example

     
  • Igor Pavlov

    Igor Pavlov - 2010-10-09

    It's not BUG.
    It's feature.

    -x!*\

     
    • An mac

      An mac - 2025-05-16

      if that's the case then whats the point for -r- and -r0 ? arent they suppose to not add files inside subdirectories as indicated in the help file

       
  • Igor Pavlov

    Igor Pavlov - 2010-10-09
    • status: open --> closed-rejected
     

Log in to post a comment.

MongoDB Logo MongoDB