In fact, want to achieve this function is very simple, first of all to upload a RAR decompression program, is RAR own decompression program, only need its coreProgram RAR.EXE this file is OK. Then you will upload a program that executes RAR.EXE CMD. EXE This is a
/---------------------------------------------. rpmUnpacking: Rpm2cpio filename.rpm | Cpio-div---------------------------------------------. Tar. tgz. tar.gz. Tar. Z. tar.bz tar.bz2. zip. cpio. rpm. Deb. SLP. Arj. rar. Ace. Lha. Lzh. lzx. Lzs. Arc. SDA. SFX. Lnx. Zoo. cab. kar. cpt. Pit. Sit. SeaDecompression: sEx x filename.*Compression: SEx a filename.* FileNameSex just call the relevant program, itself a
This paper illustrates the method of C # to implement RAR compression and decompression files. Share to everyone for your reference. The specific analysis is as follows:
This program uses the WinRAR program to compress files, and command line syntax can refer to WinRAR Chin
list all the files in the All.tar package,-T is to list the meaning of the fileThis command is to solve all the files in the All.tar package,-X is the meaningCompressiontar –cvf jpg.tar *.jpg //将目录里所有jpg文件打包成tar.jpgtar –czf jpg.tar.gz *.jpg //将目录里所有jpg文件打包成jpg.tar后,并且将其用gzip压缩,生成一个gzip压缩过的包,命名为jpg.tar.gztar –cjf jpg.tar.bz2 *.jpg //将目录里所有jpg文件打包成jpg.tar后,并且将其用bzip2压缩,生成一个bzip2压缩过的包,命名为jpg.tar.bz2tar –cZf j
Original author: Cold mo
In fact, want to achieve this function is very simple, first of all to upload a RAR decompression program, is RAR own decompression program, only need its coreProgram RAR.EXE this file is OK. Then you will upload a program that executes RAR.EXE CMD.
———————————————. rarDecompression: rar a Filename.rarCompression: RAR e Filename.rar———————————————. LhaDecompression: Lha-e Filename.lhaCompression: Lha-a Filename.lha FileNameZipZip is probably the most used document compression format. Its biggest advantage is the use of different operating system platforms, such as Linux, Windows, and MacOS. The downside is that the compression ratios are not very high,
---------------------------------------------Tar command:-V Visualization-C New Package-F Specify the file name (unless you use the default user name)-X Decompression Target.tar-R Add File to Target.tar-t lists files in Target.tar-U update file files in Target.tar-Z Call gzip-j Call bzip2Compression TAR:TAR-CF [Target.tar] [file]Decompression TAR:TAR-XF [Target.tar]Compression TAR.GZ:TAR-CZF [target.tar.gz]
This program uses the WinRAR program to compress the file. For command line syntax, see WinRAR help.///
/// Use WinRAR for compression
///
///
///
///
///
PublicBool RAR (string path, string rarpath, string rarname)
{
Bool flag =False;
String rarexe; // The complete path of winrar.exe
Registrykey regkey; // registry key
Object regvalue; // key v
If we are using a managed server it is usually necessary to implement file upload download (instead of FTP function for remote file management) has improved the efficiency of file processing the following program code enables automatic decompression of files
The //////uncompress the specified RAR file. //////////// public void Decompressrar (string rarfiletod
If your computer has very limited hard disk space, this article should be useful for you. In this article, we'll discuss how to enable file compression for files or folders. and zip file compression or RAR file compression, in this way, you do not have to create an archive file, compressed files will be as accessible as before compression.Before you begin, you ne
file is available for direct operation and, of course, also helpful./file.bin--help Sometimes you can view help information;chmod a+x file.bin Set executable permissions, and then double-click or./file.bin if it is not in the current directory, specify an absolute path;RPM Software Package Installation:RPM-IVH software name. RPM (This is used to install a new RPM package)RPM-UVH software name. RPM (This is used to upgrade an RPM package, that is, the system already has the old version of this s
1, install a compression software, there are many online. WinRAR, 360 compression, good pressure can be;
2, we take bandizip compression software for example, after installation, click RAR file will be prompted with what program open, choose Bandizip on it;
3, installed the icon becomes normal, the file icon is not related to the problem, the installation has let you select the file associated, you downlo
Tags: Ota win and 3.1 htm str RAC OSI multiple
Original: Linux unzip multiple. gz or. tar.gz files at once
Unzip multiple compressed packagesFor extracting multiple .gz files, use this command:for gz in *.gz; do gunzip $gz; doneFor extracting multiple .tar.gz files
/p10404530_112030_ Linx-x86-64_1of7.zip2.unzip command cannot decompress more than 2G files by looking for a file with a 7z program that can decompress more than 2G of compressed packetshttp://pkgs.repoforge.org/p7zip/this address to download 7zip packageFirst, check whether Linux is 32-bit or 64-bit with the FILE/BIN/LS command:[Email protected] tmp]# file/bin/
From: http://blog.csdn.net/mmllkkjj/article/details/6768294/ExtractTAR–XVF File.tar//Unpacking the TAR PackageTAR-XZVF file.tar.gz//Decompression tar.gzTAR-XJVF file.tar.bz2//Decompression tar.bz2TAR–XZVF file.tar.z//Unzip tar. ZUnrar e file.rar//decompression rarUnzip File.zip//Unzip zipSummarize1, *.tar with TAR–XVF decompression2, *.gz with gzip-d or gunzip decompression3, *.tar.gz and *.tgz with TAR–XZF
Label:Add the following script to the server scheduled task, set to execute daily, the file backup path is the path of the script, you must install the compressed file@echo offREM Calculates a date that precedes a specified number of days and is used to delete data for a specified number of daysSet daysago=7set/a year=1REM assumes that the format of the system date is YYYY-MM-DDCall:D atetodays%date:~0,4%%date:~5,2%%date:~8,2% passdaysset/a passdays-=%daysago%Call:D aystodate%passdays% dstyear d
We are in the maintenance of Linux server, often encountered to view the contents of various formats of compressed files, here I picked a few common format files, record, easy to find later.1. tar format file tar tvf test.tar2, tar.gz format file TAR-ZTF test.tar.gz3, tar.bz2 format file TAR-JTF test.tar.bz24, zip format file unzip-v TEST.ZIP5 , bzip2 format file
backup file.-X releases the file from the archive file.3.2 Auxiliary Options:-B This option is set for the tape drive, followed by a number to indicate the size of the chunk, with a system preset value of 20x512 bytes.-F using a profile or device, this option is usually required.-K saves the file that already exists. For example, restoring a file, encountering the same file during the restore process, does not overwrite it.-M when restoring files, se
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.