![]() If you want to extract the zip files, you'd have to use the unzip command. To test the integrity of a RAR file, all you have to do is use the t option with the unrar command in shown manner: unrar t Filename.rar But what about extracting the zip files? How to test the integrity of the RAR file The unrar command also allows you to verify the file contents of the RAR file.Īnd to do so, you can use the l option and append the RAR filename: unrar l Filename.rarĪnd as you can see, it gets the file permissions, time, size, filename, and total files in the RAR archive. How to list the file contents of a RAR file To do so, use the x flag, it will mimic the original file path in the same directory where the RAR file exists: unrar x Filename.rarĪnd as you can see, it creates the directors to mimic the original directory structure. You may want to extract the RAR file in its original directory structure. How to extract a RAR to an original directory structure So let's say I want to extract the RAR file to the Tutorial directory, then, I will be adding the absolute path to that directory: unrar e Files.rar ~/Tutorial 2. ![]() Simple, at the end of the command, you'd have to provide the path where you want to extract the RAR file: unrar -e Filename.rar /path/to/extract/RAR To extract a RAR file, all you have to do is use the e option with the unrar command and then it will extract files in the same directory where the RAR file exists: unrar e Filename.rarīut what if you want to extract files to a different directory? Now, let's have a look at some examples of the unrar command.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |