AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Quickest way to untar file linux9/24/2023 ![]() home/public_html/videos/all_categories.php ![]() # Untar files in Current Directory # tar -xvf public_html-14-09-12.tar # Untar files in specified Directory # tar -xvf public_html-14-09-12.tar -C /home/public_html/videos/ If you want to untar in a different directory then use option -C ( specified directory). For example, the below command will untar the file public_html-14-09-12.tar in the present working directory. To untar or extract a tar file, just issue the following command using option x ( extract). ( Note: tar.bz2 and tbz is similar to tb2). The following example command will create a 2 file for a directory /home/php. To create a highly compressed tar file we use the option j. The bz2 compression takes more time to compress and decompress files than gzip, which takes less time. The bz2 feature compresses and creates an archive file less than the size of the gzip. home/MyImages/yanaguptabaresf231110.jpg 3. home/MyImages/ReesewitherspoonCIA101202.jpg home/MyImages/the-japanese-wife-press-conference.jpg home/MyImages/katrinabarbiedoll231110.jpg home/MyImages/RobertKristenviolent101201.jpg home/MyImages/Sara-Khan-and-model-Priyanka-Shah.jpg # tar cvzf MyImages-14-09-12.tgz /home/MyImages ( Note: tar.gz and tgz both are similar). For example, the below command will create a compressed file for the directory /home/MyImages. To create a compressed gzip archive file we use the option z.
0 Comments
Read More
Leave a Reply. |