TAR.XZ sample file
tar.xz_sample_file_500KB.tar.xz
501.1 KB
application/x-tar
SHA256 verified
File details
Filename
tar.xz_sample_file_500KB.tar.xzSize501.1 KB (513144 bytes)
MIME type
application/x-tarExtension
.xz_sample_file_500KB.tar.xzSHA256
15adeb754fce2f9711212b93c989d58fe8065a9becf481ef22acca780a9f1de1Download commands
Use in scripts and tests
curl -L -o tar.xz_sample_file_500KB.tar.xz \
https://samplefile.com/samples/download/archive/tar.xz/tar.xz_sample_file_500KB.tar.xz/
wget -O tar.xz_sample_file_500KB.tar.xz \
https://samplefile.com/samples/download/archive/tar.xz/tar.xz_sample_file_500KB.tar.xz/
import requests
url = "https://samplefile.com/samples/download/archive/tar.xz/tar.xz_sample_file_500KB.tar.xz/"
resp = requests.get(url)
with open("tar.xz_sample_file_500KB.tar.xz", "wb") as f:
f.write(resp.content)
const resp = await fetch("https://samplefile.com/samples/download/archive/tar.xz/tar.xz_sample_file_500KB.tar.xz/");
const buf = Buffer.from(await resp.arrayBuffer());
require("fs").writeFileSync("tar.xz_sample_file_500KB.tar.xz", buf);
# Download and verify SHA256
curl -L -o tar.xz_sample_file_500KB.tar.xz https://samplefile.com/samples/download/archive/tar.xz/tar.xz_sample_file_500KB.tar.xz/
echo "15adeb754fce2f9711212b93c989d58fe8065a9becf481ef22acca780a9f1de1 tar.xz_sample_file_500KB.tar.xz" | shasum -a 256 -c
# Python
import hashlib, requests
data = requests.get("https://samplefile.com/samples/download/archive/tar.xz/tar.xz_sample_file_500KB.tar.xz/").content
assert hashlib.sha256(data).hexdigest() == "15adeb754fce2f9711212b93c989d58fe8065a9becf481ef22acca780a9f1de1"
More TAR.XZ files
Other TAR.XZ Sample Files
| Filename | Size | SHA256 | Download |
|---|---|---|---|
tar.xz_sample_file_1MB.tar.xz |
1.0 MB | da4bd2723a223c35… |
Download |
tar.xz_sample_file_200KB.tar.xz |
201.0 KB | 70f41817bd39d791… |
Download |
tar.xz_sample_file_50KB.tar.xz |
50.9 KB | 31aadc2369a27e64… |
Download |
Learn more