nixCraft 🐧 on Nostr: Want to compress the whole dir with good compression? Try xz compression: tar -cf - ...
Published at
2023-06-19 06:06:39Event JSON
{
"id": "86fe49c58293520cdff4a16fb5fcf4f1d4aeff0d5d447a2fc6505f2ba2cad544",
"pubkey": "cc3790930722bfa73e28f9a2aa0832706884305cb80687e20927c7960db99185",
"created_at": 1687154799,
"kind": 1,
"tags": [
[
"t",
"freebsd"
],
[
"mostr",
"https://mastodon.social/users/nixCraft/statuses/110569376955515909"
]
],
"content": "Want to compress the whole dir with good compression? Try xz compression:\ntar -cf - dir1 | xz -9ze -T0 \u003earchive.tar.xz\n\nThe latest tar version under #FreeBSD/#macOS/#Linux support the following syntax:\ntar -cJf archive.tar.xz dir1\n\nSee https://www.cyberciti.biz/faq/compress-the-whole-directory-using-xz-and-tar/ more info.\n\nhttps://files.mastodon.social/media_attachments/files/110/569/373/623/001/410/original/b033f1abc0164c5f.png",
"sig": "2f5e03af89d7245dd7c52cbdfdd90af02a59240feb33c7073a7159fa49633e607682e17b485876d6a7833477c6e30ce6f990184306dba27a22986844cf19a736"
}