Sfoglia il codice sorgente

Describe how to tar gz a folder

DricomDragon 3 anni fa
parent
commit
af3511bb22
1 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  1. 6 0
      Guides/shell.md

+ 6 - 0
Guides/shell.md

@@ -9,3 +9,9 @@ ln -s -T ~/Software/GitAhead/GitAhead ~/.bin/gitahead
 ```
 
 To use a physical link instead of a symlink, use `-S` instead of `-s`
+
+## Compress
+
+```sh
+sudo tar --create --gzip --file bck_var_log.tgz --verbose /var/log
+```