If the MyFiles directory doesn’t already exist, the unrar utility will create it for you automatically and place the files inside. This would extract the contents to the MyFiles folder on the desktop. Unrar e /Desktop/Sample.rar /Desktop/MyFiles/ Replace “file.rar” with the path and filename of the RAR file that you wish to extract and, replace “ /pathToExtractTo” with the path that you wish to extract the contents to.įor instance, if we had a file on our Desktop called “Sample.rar” and we wished to extract the contents to a folder on the Desktop called “MyFiles,” we could use the following command: If you wish to extract the contents of the file to a particular directory, use this command instead: The contents of the RAR file will be extracted to your current working directory. Replace “file.rar” with the path and filename of the RAR file that you will be extracting, and then press the enter key. to extract the contents of the RAR file), we’ll use the following command:
0 Comments
Leave a Reply. |