List entries of a tar.xz archive on disk without extracting content.
Path to the .tar.xz file to inspect
.tar.xz
Array of entry metadata objects
const entries = await listFile('archive.tar.xz');for (const entry of entries) { console.log(entry.name, entry.size);} Copy
const entries = await listFile('archive.tar.xz');for (const entry of entries) { console.log(entry.name, entry.size);}
List entries of a tar.xz archive on disk without extracting content.