blob: d46bc3d1d0e910da49fbecb57433e51bce5deeb2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
---
title: How to tar.gz a directory 📁
date: 2025-04-13
layout: linux
tags:
- tools
---
## What you will need 📋
* A computer with Linux or BSD 🐧🖥️
* The ability to read instructions and to follow them 🧠
* * *
## Why?
Main reason why you want to tar.gz a directory is because it compresses a directory and all of the data inside of it. It is also good for backing things up too.
* * *
## The command
> $ tar -czvf file.tar.gz /Location/Of/Directory
* * *
## All done ✅
Really easily done, only one command and done!
|