Alright guys I ended up just inserting archive_entry_set_pathname($entry, $path . '/' . archive_entry_pathname($entry)); before archive_write_header().
If anyone has any tips or changes that could improve the original complete_extractor.pl, please feel free to let me know.
In reply to Re: Extracting to a specific directory using Archive::Libarchive::XS
by YenForYang
in thread Extracting to a specific directory using Archive::Libarchive::XS
by YenForYang
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |