Commit e2ab63

2026-08-03 09:24:01 Niklas Polke: Create TAR
/dev/null .. linux/tar.md
@@ 0,0 1,12 @@
+ # TAR
+ GNU 'tar' saves many files together into a single tape or disk archive, and can
+ restore individual files from the archive.
+
+ ## Overview
+ | Command | Description |
+ | - | - |
+ | `tar -czf backup_$(date + %F_%H-%M-%S).tar.gz <dir1> <dir2>` | Create <backup_file> with dir1 and dir2 as content |
+ | - | - |
+ | `tar -tzf <file>` | Show directories from proton |
+ | - | - |
+ | `tar -xzf <file> -C <dir to restore>` | Extract content from <file> into <dir to restore> |
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9