ingest_archive_7z_extractor

Extract files from 7z archives and output a detailed JSON report.

541|171|Updated May 3, 2018
One-click install
npx skills add https://github.com/cas-bigdatalab/piflow --skill ingest-archive-7z-extractor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ingest_archive_7z_extractor
Source: https://github.com/cas-bigdatalab/piflow/tree/main/workspace/skills/ingest_archive_7z_extractor
Command: npx skills add https://github.com/cas-bigdatalab/piflow --skill ingest-archive-7z-extractor

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires py7zr, and includes scripts (resource) components.

What problem does it solve?

This Skill automates the extraction of contents from 7z archives, streamlining the process of unpacking compressed files and providing a detailed report of the extraction.

Core Features & Use Cases

  • 7z Archive Extraction: Extracts files from 7z archives, including segmented files like .7z.001.
  • Recursive Extraction: Supports recursive extraction from specified directories.
  • Reporting: Outputs a JSON report detailing the extraction process and results.
  • Use Case: Ideal for users who need to frequently extract files from 7z archives, such as data analysts or IT professionals managing large compressed files.

Quick Start

Extract files from the 'archives' directory to the 'extracted_files' directory and generate a report at 'extraction_report.json'.

Frequently Asked Questions about ingest_archive_7z_extractor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract files from a 7z archive automatically?

To extract files from a 7z archive, this Skill automates the unpacking process and outputs a detailed JSON report. It handles standard 7z files and supports recursive extraction from specified directories.

Can I extract segmented 7z files like .7z.001 using Python?

Yes, you can extract segmented 7z files like .7z.001. The Skill specifically supports handling segmented 7z archives alongside standard 7z extraction, requiring the py7zr library to process the compressed data.

Do I need py7zr to unpack 7z archives?

Yes, py7zr is a required dependency for unpacking 7z archives. The Skill relies on this library to perform the extraction and generate a detailed JSON report of the unpacked files.

How do I recursively extract 7z files from a directory?

To recursively extract 7z files, point the Skill to your target directory. It processes the 7z archives within that directory, unpacks the contents, and generates a JSON report detailing the extraction results.

What is the best way to log 7z archive extraction results?

The best way to log 7z archive extraction results is through the Skill's automated JSON reporting. It outputs a detailed extraction report documenting the process and results of unpacking your compressed files.