Listing the contents of a tar bz2 archive Let’s take a look at some other options now. You’ve already seen the usage of the -x flag for extracting an archive. x, – extract, – get extract files from an archive t, – list list the contents of an archive Below are three of these options: -c, – create create a new archive ![]() This mode has some basic options for creating and extracting archives. We’ll be using the main operation mode most of the time. You can access it by typing in tar -help. The tar command has a plethora of options in the help menu. The basic syntax of the tar command is as follows: tar Just right click on the tar bz2 archive file you want to extract and click on the Extract option. For example, you could extract a tar.gz file with the same command.Īlternatively, you can also use the graphical user interface (GUI) instead of the command line. You don’t need to specify the file/compression type to extract. The tar command detects the compression type automatically and extracts it. Here, x stands for extract and f stands for the archive file. To extract all the files inside of a tar.bz2 file, use the -xf flag with the tar command: tar -xf 2 In the later sections, you will get to know the tar command in a little bit more detail. In this section, we’ll show you a simple method to extract any tar.bz2 file. Extract specific files/folders from a tar bz2 archive.Listing the contents of a tar bz2 archive.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |