linux extract rar files
来源:互联网 发布:中国矢量数据下载 编辑:程序博客网 时间:2024/06/06 00:23
Extract rar-archives
If you need to extract rar files in Linux, you have to download and install unrar from rarlabs.com. You can accomplish that by making use of the following methods:
Method 1: Automated Installation
$ apt-get install unrar
Method 2: Manual Installation
$ cd /tmp$ wget http://www.rarlab.com/rar/rarlinux-3.9.3.tar.gz$ tar -zxvf rarlinux-3.9.3.tar.gz$ cd rar$ ./unrar$ cp rar unrar /bin
After you installed it, you can use it like that:
Extract archive:
$ unrar e The.Wind.That.Shakes.the.Barley.part1.rar
Extract archive with full directory paths:
$ unrar x file.rar
List archive:
$ unrar l file.rar
Test archive:
$ unrar t file.rar
Create rar-archives
In order to create a rar-archive and specify which files should be included, use the following command line (archive-name will be test.rar):
rar a test.rar thisismyfile.txt
You might want to append the best compression (m1=no compression ; m5=best compression):
rar a test.rar -m5 thisismyfile.txt
If you also would like to password protect your files + filenames, use the following line (The password of the file will be: [password] ):
rar a -m5 -hp[password] test.rar thisismyfile.txt
If you’d also like to split your archive at a specified filesize, use the following line (which splits the archive as soon it reaches a size of 2000 MegaBytes):
rar a -m5 -hp[password] -v2000M test.rar thisismyfile.txt
- linux extract rar files
- How to extract .RAR files on Ubuntu
- Linux: tar Extract Files
- Extract RAR files in Ubuntu 14.04 / 13.10 / 13.04 / 12.10 / 12.04
- mac os rar files
- Encrypt Trail and Extract files
- extract things from text files
- extract things from excel files.
- Ubuntu extract rar and 7z file
- linux rar
- linux rar
- linux rar
- linux rar
- linux rar
- How do I open rar archive files under Linux / UNIX operating systems?
- Extract frames from MOOV files using Quicktime SDK
- ogg sourceistable extract parameter files - as an etl tool
- linux------------------Files
- UVA 10125 Sumsets 技巧性的枚举
- TIMIT语音库
- 使用Java Service Wrapper将java程序作为linux服务并且开机自动启动
- Eclipse 下svn的配置
- 线程同步
- linux extract rar files
- Java UML类图标准的总结
- flume安装及配置
- uoot打印OK的位置
- iOS多线程编程指南(附录)
- Android Http get post请求
- PHP漏洞全解(三)-客户端脚本植入
- Shell 数组
- poj 2983 Is the Information Reliable?(差分约束)