We can also list for specific content in a tarfile $ tar tf file.tarġ1. list the contents and specify the tarfile using option -tf : This command will list the entire list of archived file. Update existing tar file in Linux $ tar rvf file.tar *.cġ0. Check size of existing tar, tar.gz, tar.tbz file in Linux : The above command will display the size of archive file in Kilobytes(KB). For example the above command will extract “fileA” “fileB” from the archive files. tar.tbz file in Linux : This command will extract or untar multiple files from the tar, tar.gz and tar.bz2 archive file. $ tar xvfj file.tar -C path of file in directoryħ.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |