- **Epistemic status:** #seedlings
tar and gzip can help reduce the storage space a directory occupies by archiving and compressing the chosen directory. You can use the following command to achieve this:
```bash
tar czvf archive.tar.gz ./name-of-directory
```
**Arguments**
- `c` : create
- `z`: gzip
- `v`: verbose
- `f`: use file or archive
---
## References
- “Tar(1) - Linux Manual Page.” Accessed March 27, 2022. <https://man7.org/linux/man-pages/man1/tar.1.html>.