Today, I encountered a problem in my project. In this project, I need to develop a PC tool (Windows Required). In this case, I need to package some files into a gz file, the gz file is a compressed file in the UNIX system. Later,
In the project, you have encountered a problem. In the project, you need to develop a PC tool (Windows Required). In this case, you need to package some files into a gz file, the gz file is a compressed file in the UNIX system. La
Previously wrote a log file (TXT file) to extract a specific log, written to the MySQL database script, because the log is too large, maintenance staff to pack the log compressed into the tar.gz format.
TXT file before a single file of more than 2G, a single TXT
. tar.gz and. gz files are two different files that need to be treated differently, and of course the decompression commands are different, so let's share their respective decompression methods.
1.. tar.gz file, which is a compressed file of the tar file, can be decompressed using the tar command .
For example:
. rpm/extract Rpm2cpio file.rpm | Cpio-div. Deb/install Dpkg-i File.deb. deb/exrtact Dpkg-deb-fsys-tarfile File.deb | Tar xvf-AR P file.deb data.tar.gz | Tar Xvzf-. zip Unzip File.zip Bzip2-d myfile.tar.bz2 | Tar xvf Tar Xvfz myfile.tar.bz2 X is decompressionV is a complex outputF is the specified fileZ GZ format Gzipgzip[option] File n
-fn.aviPackaged storage for Xvid-fn.avi, 15000k per volume (this format is popular when publishing DVDRip online)The generated file name is Test.part1.rar,test.part2.rar ... (RAR 3.20 Edition)
xExample: rar x test.rar-x *.txtExtract documents except *.txt in Test.rarX@
Y all actions are answered yesFor example, sometimes every time you extract the same file to as
PYQT4 and lxml under the conditions of installing python2.7 and configuring environment variables and installing PIP and configuring environment variablesInstall lxml, enter a command in DOS, and then download and install it automaticallyPip Install lxmlWhen the installation is complete, enter Python and enterImport lxmlThe resulting result, Python did not report an exception stating that the installation was successfulInstall PYQT4, click the download L link to download, according to your own
installation package. In Windows, it is difficult to extract installed programs into an installation package. However, Android and Windows are very different. We can extract installed apps from Android as the Apk installation package. Let's take a look at how to do it.
Extract
The original text is referenced in: http://blog.csdn.net/zeng622peng/article/details/6837382How do I get the suffix named gzip file under Linux? 1. Files with a. A extension: #tar XV file.a2. Files with a. z Extension: #uncompress file. Z3. Files with the. gz extension: #gunzip file.gz4. Files with the. bz2 extension: #bunzip2 file.bz25. Files with the. tar.z ext
Often installed software friends may know, some EXE program is easy to virus, and these viruses trojan, like to modify system files, the usual anti-virus software can not be poisoned the system files back to the original, so in addition to reloading and from other machines copy there is another way?
can also be extracted from the installation of the most original, most insured "original" File! But the files on the installation disk are not directly c
e-mail (email) is one of the most widely used services on the Internet. We use e-mail every day, sometimes in order to promote our products, websites, etc., is inseparable from e-mail, which requires a lot of email address collection. Below we will introduce the use of VB to edit an email address extractor, used to extract the saved in our hard disk in the HTML file contained in the email address.
a d
Do this before, no contact with the PHP compression this piece, online search some, most are PHP compression class, compression function, less than hundreds of lines, more than thousands of lines of code. This is very confusing to my novice, and I don't need to be so complicated. The last reference to the function manual, the understanding of a number of related functions, you will understand how to complete the.
PHP Zip File function
Remember to op
Compression | Have you ever thought about extracting compressed files online? Oh, sometimes upload a compressed package, the use of ASP program decompression is indeed very convenient, especially the webmaster who often update the site, because the text file compression ratio is large, so the use of compression after the upload and then decompression, so more than direct upload to save a lot of valuable time. You ready? Let's keep it up.
In order to
Compression | Have you ever thought about extracting compressed files online? Oh, sometimes upload a compressed package, the use of ASP program decompression is indeed very convenient, especially the webmaster who often update the site, because the text file compression ratio is large, so the use of compression after the upload and then decompression, so more than direct upload to save a lot of valuable time. You ready? Let's keep it up.
In order to
Careful research, the original use of PHP to write the decompression program efficiency than the imagination is still high many, since so good, and then optimize the use of their own backstage, although now most of the space Control Panel has compression and decompression this function, but sometimes some trouble.Do this before, no contact with the PHP compression this piece, online search some, most are PHP compression class, compression function, less than hundreds of lines, more than thousand
tags to the PDF page (marking the period, page number, or necessary comments).Foxit PDF Editor Support Chinese fonts, you need to import Chinese fonts before adding Chinese text content. You can select the Add text object item from the main menu or from the right-click menu. Click the "Object Properties---Import Windows Font" command in the dialog box, and then select the Chinese font you want, and when you're sure, enter the text you want to add in
{public:CMemBuffer(int nInitLen = 16);CMemBuffer(const char* pData, int nLen = 0);CMemBuffer(const CMemBuffer buff);virtual ~CMemBuffer();public:virtual int GetBufferLen();virtual bool Append(const char* pData, int nLen = 0);virtual char* GetBuffer();protected:bool ReAllocBuffer(int nDeltaLen);protected:char* m_pBuffer;// buffer dataint m_nCurLen;int m_nMaxLen;};#endif // !defined(AFX_MEMBUFFER_H__36D0136D_B57A_49FF_855B_E5545078B130__INCLUDED_)
There is nothing to say about this implementatio
current installation CD. For example, the Vista installation disk contains the Home Basic, Home Premium, Business, Ultimate, and other versions. When you see
Windows Vista ULTIMATE
This section describes the image of index 4 as the installation file of Vista ULTIMATE.
Step 3: Use the command such as imagex/mount g: sourcesinstall. wim 4 d: msdn to map the installation image marked with 4 in the G disk inst
How to extract all file names from a folder:
Sometimes we want to organize all the file names in a folder into a file that is easy to manage and query and print, mostly by using the copy and Paste methods (renaming files in a folder, copying them in an editable state, and pasting them in other documents). This approac
First of all you need to download this icon to make software iconworkshop, this is a very powerful ICO icon production software, in the major software station of the ICO icon production class software download ranked first, many design companies will use.
After downloading, open this ICO icon production software, and then select "File-Open", select a program file Exe,dll, etc. (Take the QQ music icon as an
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.