From 95d9ddf031ba2339bee359ab79ed3cf6c3856cf0 Mon Sep 17 00:00:00 2001 From: Malin Freeborn Date: Sat, 15 May 2021 16:13:23 +0200 Subject: [PATCH] clarify archives --- basics/archives.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/basics/archives.md b/basics/archives.md index d2279b3..974c5b0 100644 --- a/basics/archives.md +++ b/basics/archives.md @@ -1,6 +1,8 @@ # Tar Archives -*C*reate *z*e *f*iles! +To create an archive file, just remember: + +*C*reate *z*e *f*ile! > tar czf file.tar.gz file1 file2 @@ -18,7 +20,7 @@ Extremely compressed files take longer to compress, but take up less disk space. > tar cfj super-compressed.tar.bz2 file1 file2 -# ssh backup +# ssh backup of partitions Back up an unmounted partition with ssh: @@ -38,7 +40,7 @@ This then deletes the .xz file. To keep it: # `zip` -Zip file1-3, and make a zip file called 'newsip.zip'. +Zip file1-3, into a zip file called 'newzip.zip'. > zip newsip file1 file2 file3