m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tar.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/tar.md b/tar.md
index 9823dda..1560c7c 100644
--- a/tar.md
+++ b/tar.md
@@ -5,6 +5,9 @@
tar -cf <new archive name> <files>
# usually tar -cf directory.tar directory/
+ # gzipped:
+ tar -czf archive.tar.gz files...
+
## List contents (-t)
tar -tf <archive>