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
How to use encryption for WIM using 7z binary?