# Zip

## Dateien

[Linux Gunzip Befehl erläutert mit Beispielen](https://www.howtoforge.de/anleitung/linux-gunzip-befehl/)

-> gunzip

### Packen

### Entpacken

```
gunzip [compressed-file-name]
gunzip file1.gz
```

## Ordner

[How do I gunzip a directory?](https://superuser.com/questions/74850/how-do-i-gunzip-a-directory)

-> tar

### Packen

```
tar cvzf tarball.tar.gz directory/
tar cvzf tarball.tar.gz .
```

### Entpacken

```
tar xvzf tarball.tar.gz
```

## Links

* [Linux tar Command](https://www.freecodecamp.org/news/how-to-compress-files-in-linux-with-tar-command/) - How to Compress Files in Linux
