Archive format
Archivos de muestra TAR.XZ
TAR.XZ (.tar.xz) merges TAR archiving with XZ compression for maximum ratio. Use sample .tar.xz files to test multi-threaded decompression, catch-up decoding, and archival integrity.
4 archivos
All to 1MB
SHA256 verified
Manifiesto included
Quick facts
CategoriaArchive
Archivos totales4
Extension.xz_sample_file_1MB.tar.xz
MIMEapplication/x-tar
ManifiestoJSON
Files first
TAR.XZ Sample Files — Download
Starter file
DescargarUse cases
TAR.XZ Testing Workflows
Use the file table first, then branch into compare or FAQ only if the task needs more context.
Compare and decide
TAR.XZ Format Comparisons
FAQ and reference
TAR.XZ File FAQ
Verificacion de checksum
Usa checksums para confirmar la integridad del archivo despues de descargarlo.
shasum -a 256 your_file_name_here
# Compare output with SHA256 values listed above.
Where is the machine-readable manifest?
Use the manifest when you need stable names, SHA256 values, and URLs for automation.
Use in code — curl, Python, Node, wget
Copy any snippet directly into scripts, test suites, or CI pipelines. All URLs are stable and publicly accessible with no auth required.
# Download tar.xz_sample_file_1MB.tar.xz
curl -L -o tar.xz_sample_file_1MB.tar.xz \
https://samplefile.com/samples/download/archive/tar.xz/tar.xz_sample_file_1MB.tar.xz/
# Or fetch a random TAR.XZ file
curl -s "https://samplefile.com/samples/api/random?format=tar.xz" | jq -r '.download_url'
# Download tar.xz_sample_file_1MB.tar.xz
wget -O tar.xz_sample_file_1MB.tar.xz \
https://samplefile.com/samples/download/archive/tar.xz/tar.xz_sample_file_1MB.tar.xz/
import requests
# Download a specific file
url = "https://samplefile.com/samples/download/archive/tar.xz/tar.xz_sample_file_1MB.tar.xz/"
resp = requests.get(url)
with open("tar.xz_sample_file_1MB.tar.xz", "wb") as f:
f.write(resp.content)
# Or fetch a random TAR.XZ file via API
meta = requests.get("https://samplefile.com/samples/api/random?format=tar.xz").json()
resp = requests.get(meta["download_url"])
with open(meta["name"], "wb") as f:
f.write(resp.content)
// Download a specific file
const fs = require("fs");
const https = require("https");
const url = "https://samplefile.com/samples/download/archive/tar.xz/tar.xz_sample_file_1MB.tar.xz/";
https.get(url, (res) => {
res.pipe(fs.createWriteStream("tar.xz_sample_file_1MB.tar.xz"));
});
// Or fetch a random TAR.XZ via the API
const meta = await fetch("https://samplefile.com/samples/api/random?format=tar.xz").then(r => r.json());
const file = await fetch(meta.download_url);
// use file.arrayBuffer(), file.body, etc.
# Random TAR.XZ file (JSON response)
GET https://samplefile.com/samples/api/random?format=tar.xz
# All TAR.XZ files
GET https://samplefile.com/samples/api/files?format=tar.xz
# Manifest with SHA256 checksums
GET https://samplefile.com/samples/archive/tar.xz/manifest.json
# Response includes: name, size_bytes, mime_type, sha256, download_url
Metodologia de validacion
- Verify listing and extraction behavior across tools.
- Check compression ratio assumptions and extraction limits.
- Test zip-slip/path traversal protections in upload pipelines.