Use 7z executable for archive extraction

How-to guides, frequently asked questions, not-so-obvious features, etc
Post Reply
User avatar
rednoah
The Source
Posts: 16774
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Use 7z executable for archive extraction

Post by rednoah » 18 Oct 2018, 02:13

By default, FileBot uses either 7-Zip-JBinding native code (on x86 platforms) or Apache VFS2 with junrar plugin (on ARM platforms) platform-independent code for archive extraction. Newer archive formats such as RAR5 may not be supported well by these libraries. If you have issues with archive extraction, then using the latest 7z command-line tool (with unrar plugin) instead might solve the issue.


:idea: Set the net.filebot.archive.extractor to ShellExecutables permanently:

Code: Select all

filebot -script fn:properties --def net.filebot.archive.extractor=ShellExecutables


:idea: If unrar and 7z are not in the $PATH bu default, then you can set the absolute path to the executables like so:

Code: Select all

filebot -script fn:properties --def net.filebot.archive.unrar="/path/to/unrar" net.filebot.archive.7z="/path/to/p7zip"
:idea: Please read the FAQ and How to Request Help.

Post Reply