- Forums
- Linux Hosting
- How To Create A Tar File
This Page Will Show You How To Tar A File Using Linux Unix Command Line Terminal So If You Want To Create A Tarball File For A File Or A Directory It Will Compact The Whole Folder Into One File So It Will Create A .tar.gz File Its Another Example For Zip [1324], Last Updated: Mon Jun 24, 2024
Webune Tutorials
Thu Jan 07, 2010
0 Comments
420 Visits
welcome to webune support forums
Webune provided Linux Dedicated Servers for all you Webs!!
to tar a file is easy in linux. for example, lets say i want to compress my web files in the html directory: /var/www/html/
this is the command i can use:
SHELL COMMAND:
cd /var/www/
SHELL COMMAND:
tar -czf wwwBackup.tar.gz html/
thats it