RAR command
Function descriptionRAR is a common compression format in Windows systems, and this type of compressed file is mainly exchanged with Windows systems instead of compressing or archiving files. Use the following:
rar [Options] ZIP file name
Common parameters
Options
Description
E
Unzip
(Fi_d)ElseGlobal FileCountGlobal ZipdirFileCount = FileCount + 1# Print FileCountFileName = Os.path.join (filepath,fi_d)Filenamenoext = Getfilenameandext (FileName) [0]Fileext = Getfilenameandext (FileName) [1]# If you want to save to the same folder, set the file name to emptyFilenamenoext = ""Zipdirdest = Zipdir + "/" + Filenamenoext + "/"If fileext in ['. zip ', '. rar ']:If not Os.path.isdir (zipdirdest):Os.mkdir (Zipdirdest)if Fileext = = ". Zip
/// ///unzip the RAR and zip files (there is a need for Winrar.exe (as long as you can extract or compress files on your computer Winrar.exe))/// /// Save directory after extracting files /// The file to be extracted is stored in absolute path (including file name) /// whether the extracted files will overwrite the existing files (if not overwritten, the extracted files
Unzip the rar compressed package in Linux
First download winrar for Linux: http://www.rarlab.com/download.htm at this URL
Extract the rar folder and enter the rar folder in the terminal,
Run the make command,
Then you can decompress the package.
Rar e aa.rar decompr
Linux decompression rar file (Unrar installation and use, sub-volume decompression)Windows platform A lot of compressed documents for RAR files, then how to do Linux decompression rar file (Unrar installation and use)?Simple, CENTOS5 installation Unrar can be. Unrar Installation methods are as follows:wget HTTP://DAG.WIEERS.COM/RPM/PACKAGES/UNRAR/UNRAR-3.6.8-1.EL
file content can be seen, actually useful only 4 filesThe rar and Unrar Two executables are moved to the/usr/local/bin directory, the rarfiles.lst configuration files are moved, and the default.sfx File to the appropriate directory.4, when we installed RAR, now to do is the RAR file compression and decompression. The common operations commands are as follows:[[e
RAR for Android is an old WinRAR free Android tool that allows you to compress and decompress files on Android devices.
Via @Xang Azu
WinRAR, who ranks ahead of the piracy rate in China, has released a free decompression tool to support RAR, ZIP, TAR, GZ, BZ2, XZ, 7z, IS
Decompression on the phone on a Windows compressed file, found that Chinese is garbled, the solution is as follows: Find the System.zip.pas file will e: = tencoding.getencoding (437);Instead of E: = tencoding.getencoding (936); After saving the new multiplatform project, adding this file and recompiling, compiling this project, SYSTEM.ZIP.DCU and System.zip.so two files, respectively covering to the installation directory of Delphi \lib\android\releas
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.