Explorar o código

Describe how to tar gz a folder

DricomDragon %!s(int64=3) %!d(string=hai) anos
pai
achega
af3511bb22
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  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
+```