diff --git a/blog-vault/.obsidian/workspace.json b/blog-vault/.obsidian/workspace.json
index 53197852d9e644c757dfa8ea4c03124368640195..c07332f69759fc397046c326829bb8e0e778131c 100644
--- a/blog-vault/.obsidian/workspace.json
+++ b/blog-vault/.obsidian/workspace.json
@@ -13,12 +13,12 @@
             "state": {
               "type": "markdown",
               "state": {
-                "file": "posts/2025-03-07 Fixing weird Nextcloud client sync issues.md",
+                "file": "posts/2025-03-31 Make XZ archives using ALL your cores.md",
                 "mode": "source",
                 "source": false
               },
               "icon": "lucide-file",
-              "title": "2025-03-07 Fixing weird Nextcloud client sync issues"
+              "title": "2025-03-31 Make XZ archives using ALL your cores"
             }
           }
         ]
@@ -185,8 +185,11 @@
   },
   "active": "243320f073b2669e",
   "lastOpenFiles": [
-    "posts/2025-03-25 Deleting Intune Users.md",
+    "images/Pasted image 20250331111338.png",
+    "posts/2025-03-31 Make XZ archives using ALL your cores.md",
+    "images/Pasted image 20250331111347.png",
     "posts/2025-03-07 Fixing weird Nextcloud client sync issues.md",
+    "posts/2025-03-25 Deleting Intune Users.md",
     "posts/2025-02-05 Make Beautiful Reports with Pandoc.md",
     "posts/2025-01-24 Use multiple audio outputs at once on Ubuntu 24.04.md",
     "posts/2024-11-27 First Blog Post.md",
@@ -202,7 +205,6 @@
     "images/Pasted image 20250124101720.png",
     "posts/2024-11-28 Escaping Text for URLs in Python.md",
     "posts/2024-11-28 Reading All The Cards with a Proxmark 3.md",
-    "images/Pasted image 20241127184913.png",
     "images",
     "posts",
     "First Blog Post.md",
diff --git a/blog-vault/images/Pasted image 20250331111347.png b/blog-vault/images/Pasted image 20250331111347.png
new file mode 100644
index 0000000000000000000000000000000000000000..32ffcd66486be1e452076afdea8d7724bb5a527e
Binary files /dev/null and b/blog-vault/images/Pasted image 20250331111347.png differ
diff --git a/blog-vault/posts/2025-03-31 Make XZ archives using ALL your cores.md b/blog-vault/posts/2025-03-31 Make XZ archives using ALL your cores.md
new file mode 100644
index 0000000000000000000000000000000000000000..08e911648f8cc1bf6db56c8e630cbb805576eb21
--- /dev/null
+++ b/blog-vault/posts/2025-03-31 Make XZ archives using ALL your cores.md	
@@ -0,0 +1,22 @@
+---
+title: Make XZ archives using ALL your cores
+date: 2025-03-31T11:06:13+01:00
+draft: false
+tags:
+  - ubuntu
+  - debian
+  - sysadmin
+---
+If you've ever used tar, you'll realise it's really slow when it comes to compressing. That's because the compression is pinned to one core by default - or, at least that's what I've found.
+
+For the following commands, you'll need GNU tar. If you're on Linux, you'll have it already, but if you're on BSD, you'll need to install GNU tar and use it with `gtar` instead of `tar`.
+
+In the GNU version of tar, there is a switch, `-I`, which allows you to specify the compression command. Using `xz -T0` as this command you can use all of the cores in your system to compress files.
+
+For example, to compress the folder `driving2` into a file called `driving2.tar.xz` using all possible cores for compression, you would run this command:
+```
+tar -c -I 'xz -T0' -f ./driving2.tar.xz ./driving2
+```
+
+And as you can see, all the cores are being used:
+![[Pasted image 20250331111347.png]]
\ No newline at end of file