m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Chrzanowski <martin@celo.org>2019-09-24 15:59:49 -0700
committerMartin Chrzanowski <martin@celo.org>2019-09-24 15:59:49 -0700
commit878caf2eaaa3beeed9f9161408c68e2846de4f2c (patch)
tree17a1570f849d5a709d5c238f460713829489070a
parent2feb03aaf605b5a06edaae2271b378412462498b (diff)
Add tar cheatsheet
-rw-r--r--tar.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/tar.md b/tar.md
new file mode 100644
index 0000000..9823dda
--- /dev/null
+++ b/tar.md
@@ -0,0 +1,14 @@
+# Manipulating tarballs
+
+## Create (-c)
+
+ tar -cf <new archive name> <files>
+ # usually tar -cf directory.tar directory/
+
+## List contents (-t)
+
+ tar -tf <archive>
+
+## Extract (-x)
+
+## Append (-r)