TarGz.html (1579B)
1 <!DOCTYPE html> 2 <html lang="en-GB"> 3 <head> 4 <meta charset="UTF-8"> 5 <meta name="author" content="Shipwreckt"> 6 <meta name="viewport" content="width=device-width, initial-scale=1.0"> 7 <title>tar.gz a directory 📁</title> 8 <link rel="stylesheet" href="../../../styles.css"> 9 <link rel="icon" href="../../../Images/favi.png" type="image/x-icon"> 10 </head> 11 <body> 12 <header> 13 <nav> 14 <ul> 15 <li><a href="../../../index.html">Home</a></li> 16 <li><a href="../../../links.html">Links</a></li> 17 <li><a href="../../../projects.html">Projects</a></li> 18 <li><a href="../../../contact.html">Contact</a></li> 19 </ul> 20 </nav> 21 </header> 22 <main> 23 <h1>How to tar.gz a directory 📁</h1> 24 <h3>Date: 13-04-2025</h3> 25 <hr> 26 <h2>What you will need 📋</h2> 27 <ul> 28 <li>A computer with Linux or BSD 🐧🖥️</li> 29 <li>The ability to read instructions and to follow them 🧠</li> 30 </ul> 31 <hr> 32 33 <h2>Why?</h2> 34 <p>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.</p> 35 <hr> 36 37 <h2>The command</h2> 38 <div class=code-box> 39 <p>$ tar -czvf file.tar.gz /Location/Of/Directory</p> 40 </div><hr> 41 42 43 <h2>All done ✅</h2> 44 <p>Really easily done, only one command and done!</p> 45 46 <center> 47 <hr> 48 <pre text-align=center> <a href="../../linuxlist.html">Back 🚪</a> 49 </main> 50 </body> 51 </html> 52