Menu

#270 Cannot use wildcard when creating bzip2

open
nobody
None
5
2018-10-11
2018-10-09
liturgist
No

If I try to use a wildcard in the filename parameter when creating a -tbzip2 archive, it fails. It works when specifying a filename without a wildcard.

System ERROR:
The parameter is incorrect.

8:51:45.65 C:\src\t\7zz
C:>7z a t3.bz2 ..\y.ps1 -tbzip2

7-Zip 18.01 (x64) : Copyright (c) 1999-2018 Igor Pavlov : 2018-01-28

Scanning the drive:
1 file, 51 bytes (1 KiB)

Creating archive: t3.bz2

Add new data to archive: 1 file, 51 bytes (1 KiB)

Files read from disk: 1
Archive size: 87 bytes (1 KiB)
Everything is Ok

8:52:11.47 C:\src\t\7zz
C:>del t3.bz2

8:52:25.19 C:\src\t\7zz
C:>7z a t3.bz2 ..*.ps1 -tbzip2

7-Zip 18.01 (x64) : Copyright (c) 1999-2018 Igor Pavlov : 2018-01-28

Scanning the drive:
115 files, 92962 bytes (91 KiB)

Creating archive: t3.bz2

Add new data to archive: 115 files, 92962 bytes (91 KiB)

System ERROR:
The parameter is incorrect.

Discussion

  • Igor Pavlov

    Igor Pavlov - 2018-10-10

    bz2 supports only one file per archive.

     
  • liturgist

    liturgist - 2018-10-11

    Thanks, Igor. My apologies for not knowing.

     

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.