Menu

#370 Does 7z support encryption of WIM, TAR, TGZ archive for MAC?

open
nobody
None
5
2020-08-14
2020-08-14
Niral
No

I am not able to encrypt to WIM, TAR and TGZ archive using 7z binary in MAC.
Using 7za binary I am able encrypt but I need to use 7z binary to use other features.

./7z u -mhe -w /Users/nch/Documents/NewWIM1.tar -p123 /Users/nch/Downloads/Untitled.txt

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=utf8,Utf16=on,HugeFiles=on,64 bits,4 CPUs x64)

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

Creating archive: /Users/nch/Documents/NewWIM1.tar

Items to compress: 1

System ERROR:
E_INVALIDARG

  • Same for WIM and TGZ archives.
  • This same command works for ZIP and 7Z archives.

How to use encryption for WIM using 7z binary?

Discussion


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.