- Rar For Mac Command Line Linux
- Install Rar Mac Command Line
- Rar File Mac Command Line
- Winrar For Mac Command Line
- Mac Install Pkg Command Line
- How To Open Rar Files On Mac
Application
WinRAR has a detailed description of its command line syntax in its help files (WinRAR Help), chapter 'Command line syntax'. All the commands such as 'a' (add to an archive), 'd' (delete from an archive), 'e' (extract from an archive ignoring paths) and switches such as '-af' (specify whether to create a rar or a zip file), '-ad' (append archive name to destination path) or '-p' (encrypt the. You can use command line rar for Mac OS X, but it doesn't have GUI. On the other hand, it's useful for scripting. On the other hand, it's useful for scripting. (I feel that it should be mentioned here anyway). RAR also offers self-extracting capabilities as well as disk-spanning (or multi-volumes). RAR is the official RAR archive utility for OS X (offered as a command-line utility), especially useful while reading all those alt.binaries newsgroups.
Hey
There are many ways in which you can unrar rar files. In a similar method of yesterdays post on how to play mkv files, today’s post is going to mention some of the different ways to unrar rar archives. Since there are many ways to skin a cat there are also many ways to unrar these archives. Pretty much every app mentioned here does the same thing and there isn’t much difference between them. The only difference is between the command line program and the GUI app’s. Since the built in Archive Utility doesn’t have a support for rar files its worth having an app that can support these files when the time comes.
UnRarX
The app that I use regularly is UnRarX. From the many apps that I have tried it seems to be the best. Like most of these apps it is a no nonsense app that gets the job done. Unlike most other apps it has a small window which tells you what it is doing rather than a simple progress bar. This way when you get a corrupt archive or a file that won’t fully extract it will tell you what exactly is happening and you should be able to quickly diagnose the problem.
Command Line
One the other ways that I personally use to extract rar archives is the WinRAR command line tool. I have mentioned in the past how to use this tool and one of the main advantages of using it is the ability to extract broken archives quickly. Although other programs have broken file support I prefer a to use a quick terminal command to get the job. Its also very useful for use in scripts and has come in handy many times.
Stuffit Expander
I used the app a long time ago it is Stuffit Expander. It works in much the same way as the other apps in this post. Stuffit Expander is designed to work with the other Stuffit Apps which is great if you do a lot of compression and extraction of files. It does work on its own so you don’t need the rest of the suite. If you want something that looks a bit prettier Stuffit Expander is a good choice.
A more general expanding app.
iArchiver
Continuing on with the list is iArchiver. Its the first and only paid app on this list. Unlike the other apps it is designed primarily to compress files into archives, although it does have extraction capabilities as well. Its very similar to the Stuffit suite however it is only one app and not a couple of apps as is the case with Stuffit. I have reviewed this app in the past and if you are going to use this app its worth checking out what I have said.
RAR Expander
The last two options on the list are very simple expander’s. Similar to the way Archive Utility is used to expand zip files, RAR Expander does this for rar files. If you want a simple expander this app is probably for you.
A simple app that gets the job done.
Unarchiver
The final post to complete everything off is Unarchiver. Its a simple free app that is very similar to RAR Expander. I haven’t tried it however it is probably very good.
If you have an unraring app that you recommend please leave a comment using the form below.
Related posts:
Where To Next?
Here is how to install a free command line UnRAR tool (a RAR file extractor) and the RAR tool on Mac OS X. It’s simple and did I mention it’s free?
There is an image at the end of this post showing the steps taken in Terminal. Also, if you have Homebrew installed, you can use this for the installation of UNRAR. See instructions further down the page.
Step 1
Download latest RAR for OS X “RAR 5.2.1 for Mac OS X” (or a later version if there is one) from RARLab.
Assuming that file is downloaded to your ~/Downloads folder, double click it to extract the files. You should now see in your ~/Downloads folder a folder called ~/Downloads/rarosx-5.2.1 (the number will be different if you downloaded a newer version since I late updated this post). In that folder is a /rar folder. So the full path is ~/Downloads/rarosx-5.2.1/rar
If you downloaded it to some other location then your file path will be different. Whatever it is, make a note of it.
Step 2
Open Terminal.app. Just type Terminal into Spotlight (Command-Space to quickly access Spotlight). In Terminal.app type or paste the following (again remember to change the version number if you have a later version):
Step 3
For OS X up to 10.9.x (if using Yosemite, first follow instructions as indicated a little further down the page)
Now type or paste:
Whilst you’re at it, you might as well install the RAR tool too. Use this command in Terminal:
For OS X 10.10.x (Yosemite)
In Apple OS X 10.10.x (i.e. Yosemite) there is no /usr/local/bin folder by default. So you will need to first create this folder.
Rar For Mac Command Line Linux
Now following the above instructions “For OS X up to 10.9.x”
Step 4
After you hit enter on that command Terminal will prompt you for your password. Type it in and hit enter.
Install Rar Mac Command Line
Step 5
To test the installation went okay simply type unrar into Terminal. You should see a lot information appear in terminal. This is simply the details on how to use unrar and it shows that unrar is install.
Now you can UnRAR rar archives from the Command Line in Terminal.
To do an extraction use the x switch as shown below.
TIP: To save yourself typing out the full path to the RAR file, you can simply grab the file in Finder and drag it onto Terminal. Do that after you’ve typed in unrar x(space)
There you go. All done.
Rar File Mac Command Line
Here’s a screenshot of showing the steps taken in Terminal.app
Using Homebrew to install UNRAR
Winrar For Mac Command Line
If you have Homebrew installed on your system, you can also use that to install UNRAR. Just use this command:
Note, it only installs UNRAR. If you also need RAR then you’ll have to use the instructions I posted above.
Other neat things you can do with command-line RAR/UNRAR
Mac Install Pkg Command Line
– Extracting RAR archive files from the command-line
– Repair damaged RAR files on Mac OS from the command-line
How To Open Rar Files On Mac
– Testing RAR archive files for corruption in Mac OS X from the command-line