sander wrote: ↑April 4th, 2019, 12:19 pm
"7-Zip cannot find the code that works with archives" ... when I google that, it's all about 7zip on Windows ...
So: where are you running 7z on?
I'm running the script on the Qnap NAS so 7zip is also running on the NAS. I found this thread with someone getting the same error on a QNAP:
@kallek, you might also check which 7zips are available. It seems QTS Busybox contains one version, but you should also have an Entware version installed. The order they are found depends on your $PATH. The 'default' is the first one found.
OneCD wrote: ↑April 5th, 2019, 1:15 am
@kallek, you might also check which 7zips are available. It seems QTS Busybox contains one version, but you should also have an Entware version installed. The order they are found depends on your $PATH. The 'default' is the first one found.
7z is /usr/local/sbin/7z
7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs x64
If I run the script with the full path it kind of works but I get a warning about "There are data after the end of archive".
I'm trying to unpack a bluray iso but all I get is some strange files. Guess it unpacks some hidden partition with metadata, not visable to Windows. Maybe 7zip doesn't work very well with bluray isos.
I've just had a look at the p7zip IPKG installed via Entware. It's identical to the version installed with QTS except the Entware version is executed with '7za'.