m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/tar.md
diff options
context:
space:
mode:
Diffstat (limited to 'tar.md')
-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>