How to compress rar files on MAC?

As a developer, the main development machine must be Apple's MacBook. The reason is that it is friendly to developers and can develop iOS and Android apps at the same time. However, Windows is limited in this regard. There are too many shortcomings. Although many people say that it can be used, being able to use it and being easy to use still cannot go hand in hand. Some things are indeed much more troublesome than Apple's. But I have to admit that some things are more convenient on Win than on Mac, so it is normal for developers to use two computers with different systems, but the main computer is still Mac. Next, let’s talk about how to compress rar files on MAC.

First, go to the rar official website to download the corresponding winrar software. Mine is an M series chip, so I chose the arm version when downloading. The download address is here:WinRAR download free and support: WinRAR Download Latest Version
After downloading, unzip it and you will get the rar folder, then move the mouse to the rar folder, right-click and select "New Terminal Window in the Folder" First use “Command + C” to have the same effect as copying in the right-click menu, and then use “Command + Option” + V" shortcut key to cut the file. Finally, by the way, many people don’t know the shortcut keys for cutting files on Mac: It should be noted that when compressing files, you need to put the folder to be compressed into the rar folder, and then execute the compression command. Why? Because if you are in the form of /download/the directory to be compressed, then the compressed folder structure will become the structure in your command, which is not the result we wantThe a parameter indicates appending the archive file! rar.txt.rar file is compressed into rar.txt Will ./rar a rar.txt.rar rar.txt  

OK, now you can compress the file







Guess you like

Origin blog.csdn.net/BenChiZhuBaDaoWang/article/details/132594331