- Forums
- Shared Hosting
- How To Tar Files And Folders Using These Simple Linux Commands
This Page Contains information about How To Tar Files And Folders Using These Simple Linux Commands By Webune in category Shared Hosting with 7 Replies. [877], Last Updated: Mon Jun 24, 2024
Webune
Sat Oct 24, 2009
7 Comments
1207 Visits
To compress a file or folder do this command:
in this example, i want to tar my web directory:
Command:
tar -pczf web.tar.gz web/
Now to untar:
Command:
tar xvfz web.tar.gz