ZIP Compressed File (Containing All Text, Figures, Tables, etc.)是什...
展开全部 /* creates a compressed zip file */function create_zip($files = array(),$destination = '',$overwrite = false) { //if the zip file already exists and overwrite is false, return false if(file_exists($destination) && !$overwrite) { return false; } //vars $valid_files = array(); //if files were passed in... if(is_array($files)) { //cycle through each file foreach($files as $file) { //make sure the file exists if(file_exists($file)) { $valid_files[] = $file; } } } //if we have good files... if(count($valid_files)) { //create the archive $zip = new ZipArchive(); if($zip->open($destination,$overwrite ? ZIPARCHIVE::OVERWRITE : ZIPARCHIVE::CREATE) !== true) { return false; } //add the files foreach($valid_files as $file) { $zip->addFile($file,$file); } //debug //echo 'The zip archive contains ',$zip->numFiles,' files with a status of ',$zip->status; //close the zip -- done! $zip->close(); //check to make sure the file exists return file_exists($destination); } else { return false; }}...
压缩文件 用英语怎么说 谢绝翻译软件
像Oracle 10 能Ubuntu装 所建文件创建文件/etc/redhat-release内容:Red Hat Linux release 3.1 (drupal)Oracle系统误认redhat保存候弹没权限框 保存 该处理难换其系统像Oracle 10 能Ubuntu装 所建文件创建文件/etc/redhat-release内容:Red Hat Linux release 3.1 (drupal)Oracle系统误认redhat保存候弹没权限框 保存 该处理难换其系统
gzip怎么压缩和怎么解压缩文件到其他目录
展开全部 解决:gzip -c test.txt > /root/test.gz,文件流重定向,解压也是,gunzip -c /root/test.gz > ./test.txt 经验:更常用的命令tar同样可以解压*.gz,参数为-c附gzip帮助文件GZIP(1) General Commands Manual GZIP(1) NAME gzip, gunzip, zcat - compress or expand files SYNOPSIS gzip [ -acdfhlLnNrtvV19 ] [-S suffix] [ name ... ] gunzip [ -acfhlLnNrtvV ] [-S suffix] [ name ... ] zcat [ -fhLV ] [ name ... ] OPTIONS -a --ascii Ascii text mode: convert end-of-lines using local conventions. This option is supported only on some non-Unix systems. For MSDOS, CR LF is converted to LF when compressing, and LF is con‐ verted to CR LF when decompressing. -c --stdout --to-stdout Write output on standard output; keep original files unchanged. If there are several input files, the output consists of a sequence of independently compressed members. To obtain better compression, concatenate all input files before compressing them. -d --decompress --uncompress Decompress. -f --force Force compression or decompression even if the file has multiple links or the corresponding file already exists, or if the com‐ pressed data is read from or written to a terminal. If the input data is not in a format recognized by gzip, and if the option --stdout is also given, copy the input data without change to the standard output: let zcat behave as cat. If -f is not given, and when not running in the background, gzip prompts to verify whether an existing file should be overwritten. -h --help Display a help screen and quit. -l --list For each compressed file, list the following fields: compressed size: size of the compressed file uncompressed size: size of the uncompressed file ratio: compression ratio (0.0% if unknown) uncompressed_name: name of the uncompressed file The uncompressed size is given as -1 for files not in gzip for‐ mat, such as compressed .Z files. To get the uncompressed size for such a file, you can use: zcat file.Z | wc -c In combination with the --verbose option, the following fields are also displayed: method: compression method crc: the 32-bit CRC of the uncompressed data date & time: time stamp for the uncompressed file The compression methods currently supported are deflate, com‐ press, lzh (SCO compress -H) and pack. The crc is given as ffffffff for a file not in gzip format. With --name, the uncompressed name, date and time are those stored within the compress file if present. With --verbose, the size totals and compression ratio for all files is also displayed, unless some sizes are unknown. With --quiet, the title and totals lines are not displayed. -L --license Display the gzip license and quit. -n --no-name When compressing, do not save the original file name and time stamp by default. (The original name is always saved if the name had to be truncated.) When decompressing, do not restore the original file name if present (remove only the gzip suffix from the compressed file name) and do not restore the original time stamp if present (copy it from the compressed file). This option is the default when decompressing. -N --name When compressing, always save the original file name and time stamp; this is the default. When decompressing, restore the original file name and time stamp if present. This option is useful on systems which have a limit on file name length or when the time stamp has been lost after a file transfer. -q --quiet Suppress all warnings. -r --recursive Travel the directory structure recursively. If any of the file names specified on the command line are directories, gzip will descend into the directory and compress all the files it finds there (or decompress them in the case of gunzip ). -S .suf --suffix .suf When compressing, use suffix .suf instead of .gz. Any non-empty suffix can be given, but suffixes other than .z and .gz should be avoided to avoid confusion when files are transferred to other systems. When decompressing, add .suf to the beginning of the list of suffixes to try, when deriving an output file name from an input file name. pack(1). -t --test Test. Check the compressed file integrity. -v --verbose Verbose. Display the name and percentage reduction for each file compressed or decompressed. -V --version Version. Display the version number and compilation options then quit. -# --fast --best Regulate the speed of compression using the specified digit #, where -1 or --fast indicates the fastest compression method (less compression) and -9 or --best indicates the slowest com‐ pression method (best compression). The default compression level is -6 (that is, biased towards high compression at expens...
python怎样压缩和解压缩ZIP文件
展开全部 使用zlib解压缩字符串:import zlibmessage = 'aaaabbbbccccdddd'compressed = zlib.compress(message)decompressed = zlib.decompress(compressed)print 'original:', repr(message)print 'compressed:', repr(compressed)print 'decompressed:', repr(decompressed)使用zlib解压缩文件import zlibdef compress(infile, dst, level=9): infile = open(infile, 'rb') dst = open(dst, 'wb') compress = zlib.compressobj(level) data = infile.read(1024) while data: dst.write(compress.compress(data)) data = infile.read(1024) dst.write(compress.flush())def decompress(infile, dst): infile = open(infile, 'rb') dst = open(dst, 'wb') decompress = zlib.decompressobj() data = infile.read(1024) while data: dst.write(decompress.decompress(data)) data = infile.read(1024) dst.write(decompress.flush())...
怎样复原已经被删掉的QQ聊天记录
因为文件夹已经删除 我想你可定也没有备分 这时候应该用硬盘恢复 来恢复数据 不过成功率很低 下面是资料 常用硬盘数据恢复软件 常用硬盘数据恢复软件 常用的硬盘数据恢复软件简介:Easyrecovery、Finaldata,R-Studio,Drive Rescue ,Recover4all,File Scavenger ,getdataback,RecoverNT,Search and Recover,DataExplore,Lost&Found、PCtools(DOS)、。
。
。
Easyrecovery Easyrecovery是一个非常著名的老牌数据恢复软件。
该软件功能可以说是非常强大。
无论是误删除/格式化还是重新分区后的数据丢失,其都可以轻松解决,其甚至可以不依靠分区表来按照簇来进行硬盘扫描。
但要注意不通过分区表来进行数据扫描,很可能不能完全恢复数据,原因是通常一个大文件被存储在很多不同的区域的簇内,即使我们找到了这个文件的一些簇上的数据,很可能恢复之后的文件是损坏的。
所以这种方法并不是万能的,但其提供给我们一个新的数据恢复方法,适合分区表严重损坏使用其他恢复软件不能恢复的情况下使用。
Easyrecovery最新版本加入了一整套检测功能,包括驱动器测试、分区测试、磁盘空间管理以及制作安全启动盘等。
这些功能对于日常维护硬盘数据来说,非常实用,我们可以通过驱动器和分区检测来发现文件关联错误以及硬盘上的坏道。
开发商说明: EasyRecovery Professional contains advanced data recovery capabilities that allow you to search file types including MIDI music files, voice files, digital media files, and more! Plus, you can utilize the Emergency Boot Diskette to recover data from systems that cannot boot to Windows. Finaldata Finaldata2.0是目前Finaldata的最新版本。
Finaldata是一个日本人开发的数据恢复软件,Finaldata自身的优势就是恢复速度快,可以免去搜索丢失数据漫长的时间等待。
不仅恢复速度快,而且其在数据恢复方面功能也十分强大,不仅可以按照物理硬盘或者逻辑分区来进行扫描,还可以通过对硬盘的绝对扇区来扫描分区表,找到丢失的分区。
Finaldata在对硬盘扫描之后会在其浏览器的左侧显示出文件的各种信息,并且把找到的文件状态进行归类,如果状态是已经被破坏,那么也就是说如果对数据进行恢复也不能完全找回数据。
这样方便我们了解恢复数据的可能性。
同时此款软件还可以通过扩展名来进行同类文件的搜索,这样就方便我们对同一类型文件进行数据恢复。
Finaldata的速度之快不仅表现在对硬盘扫描时迅速,把已经找到要恢复的文件进行保存的速度也非常迅速,Finaldata能充分利用IDE硬盘的ATA133、ATA100等最大接口速度,对数据进行快速保存,在保存数据时间方面,Finaldata比其他同类型软件要快一倍以上。
开发商说明: 1. Improve Data Protection and Integrity by Pre-Installing FINALDATA - Delete Protection : Protects against the deletion of important files and directories - File Delete Manager : Automatic Backup of files being deleted 2. Easy and Useful Recovery Tools - File Preview : Check the contents of Images files, MS Office documents, or HTML files before recovering - File Viewer : Extract the text contained in a damaged file 3. Damaged CD-ROM Recovery - Recover data from damaged sectors of CD-RW and CD-R media - Support CDFS, UDF 4. Fully Compatible with Microsoft Windows OS - Fully compatible with Windows 9x/ME/NT4.0/2000/XP - Support for FAT 12/16/32 and NTFS R-Studio R-Studio是损坏硬盘上资料的救星。
它能针对各种不同版本的Windows操作系统之文件系统都能应付自如。
甚至连非Windows系列的Linux操作系统,R-Studio软件也照样能够应付。
而在Windows NT,Windows2000等操作系统上所使用的NTFS文件系统,R-Stduio亦具有处理的能力,而且R-Studio甚至也能处理NTFS文件系统的加密与压缩状态,并将发生问题的文件复原。
除了本地磁盘以外,R-Studio甚至能透过网络去检测其他电脑上硬盘的状况。
且在挽救资料损毁的文件以外,R-Studio也包括了误删文件的复原能力,让未使用回收站或是已清空回收站的文件,都照样能够找回来。
最特别的一点是在标准的磁盘安装方式以外,R-Studio也能支持RAID磁盘阵列系统。
开发商说明: R-studio is a family of data recovery and undelete utilities. Empowered by new unique data recovery technologies, it is the most comprehensive data recovery solution for FAT12/16/32, NTFS, NTFS5, and Ext2FS. It recovers data both on local logical and physical disks, as well as disks on remote computers over networks, even if their partition structures are damaged or deleted. RAID reconstruction and Dynamic disk support are included, as well as support for recovering encrypted files, compressed files, and alternative data streams. File/disk content can be viewed and edited in the hexadecimal editor. Flexible parameter settings give you absolute control over data recovering. Drive Rescue Drive Rescue是一款优秀而且免费的磁盘数据拯救程序,它能恢复驱动器(例如...
连接ftp时出现Entering Passive Mode是怎么回事解决办法
原因:系统在运行时出现错误,还原至更早之前的状态即可。
方法:1.首先在开始菜单中打开控制面板,打开控制面板之后,在控制面板的众多选择项中打开备份和还原选项。
如图所示;2.然后在接下来的界面中选择恢复系统设置和计算机。
如果你的计算机没有开启还原的功能,可能需要开启这个功能;3.然后打开系统还原,即点击图中所示的那个按钮,如果有账户控制则会有所提示,通过即可;4.然后会开始还原文件和设置的向导,你只需要按照向导的提示做就好了。
直接点击下一步;5.然后,在系统还原点的选项当中,选择一个还原点,要确保所选择的还原点是之前系统正常时的还原点,因为如果是不正常的还原点则会出现问题;6.确定之后,会出现一个确认的页面,上面显示了关于还原的详细的信息,你要确保它没有错误之后,点击完成按钮,开始系统的还原,系统的还原会重启,然后在开机的过程中进入相关的还原操作。
kindle可以看什么格式
展开全部 亲,请采纳。
Supported File TypesKindle Personal Documents Service supports multiple file types, including:Microsoft Word (.DOC, .DOCX)HTML (.HTML, .HTM)RTF (.RTF)JPEG (.JPEG, .JPG)Kindle Format (.MOBI, .AZW)GIF (.GIF)PNG (.PNG)BMP (.BMP)PDF (.PDF)The above file types can also be combined in a compressed ZIP (.ZIP) file. ZIP files are automatically opened up by the conversion service, converted to the Kindle format if needed, and stored in your Kindle Library. Some complex PDF files might not format correctly on your Kindle or Kindle reading application.总结下kindle支持的格式:1.kindle支持word文档(.doc,.docx)。
其中.doc是word2003版本的格式,.docx是word2007版本以后的格式(日版不支持doc文档)2.kindle支持html文档,即网页格式3.kindle支持.rtf格式4.kindle支持图片格式。
包括:.jpg ,.jpeg,.png ,.gif ,.bmp5.kindle标准格式:mobi和.azw6.kindle支持pdf文件7.kindle支持以上六种格式的压缩包文件,必须是zip压缩,不能是rar压缩。
...
XP系统自带的木马捆绑工具如何使用?
工具介绍: 名称:IExpress 功能:专用于制作各种 CAB 压缩与自解压缩包的工具。
实际操作 第一步 在“运行”对话框中输入IExpress就可启动程序。
在开始的时候会有两个选项供你选择,一个是创建新的自解压文件(Create new Self Extraction Directive file),另一个是打开已经保存的自解压模板“.sed”文件(Open existing Self Extraction Directive file)。
我们应该选择第一项,然后点击“下一步”按钮。
[!--empirenews.page--] 第二步 接下来选择制作木马自解压包的三种打包方式(图2),它们分别是建立自解压并自动安装压缩包(Extract files and run an installation command)、建立自解压压缩包(Extract files only)和建立CAB压缩包(Create compressed files only)。
因为我们要制作的是木马解压包,所以应该选择第一项。
在输入压缩包标题后点击“下一步”按钮。
第三步 在“确认提示”(Confirmation prompt)这一环节,软件会询问在木马程序解包前是否提示用户进行确认,由于我们是在制作木马程序的解压包,当然越隐蔽越好,选择第一项“不提示”(No prompt),这么做的目的是让中招人毫无防备。
点击“下一步”按钮,在接下来的添加“用户允许协议”(License agreement)中添加一个伪装的用户协议迷惑中招者,选择“显示用户允许协议”(Display a license),点击“Browse”选择一份编辑好的TXT文档,此文档可以用微软公司的名义来编辑,设置完毕后点击“下一步”。
这一步的目的是迷惑对手并隐藏木马安装的过程。
第四步 现在,我们就进入了文件列表窗口(Packaged files)。
点击该窗口中的“Add”按钮添加木马和将要与木马程序捆绑在一起的合法程序。
根据刚才编辑的协议文件的内容添加合法程序。
例如,你制作的协议和IE补丁包相关,那么你就可将木马和一个正常的IE补丁包添加进来。
随后进入安装程序选择窗口,指定解压缩包开始运行的文件(Install Program)和安装结束后运行的程序(post install command)。
例如,在Install Program内设置正常的IE补丁包先运行,此时木马并未运行,在中招者看来的确是一个IE补丁包。
在post install command内设置木马程序,这样在IE补丁包安装完毕时,木马程序将会在后台执行,我们的目的也就达到了。
第五步 接下来选择软件在安装过程中的显示模式(Show window)。
由于我们的木马是和合法程序捆绑在一起的,所以选择“默认”(Default)即可。
接下来进行提示语句(Finished message)的显示设置,由于我们做的是木马捆绑安装程序,当然应该选择“No message”。
第六步 上述设置完成后,接着设置自解压程序的保存位置和名称。
在这里要选择“Hide File Extracting Progress Animation from User”,以便隐藏解压缩过程,有助于隐藏某些木马程序启动时弹出的命令提示框。
最后,设置在软件安装完成后是否重新启动(Configure reboot),可以根据实际需要来选择。
如果你所用的木马是“即插即用”的,那么就选择“No reboot”;如果所采用的木马用于开启终端服务,那么可选择“Always reboot”,同时选择“重新启动前不提示用户”(Do not prompt user before reboot)。
[!--empirenews.page--] 在保存刚才所做的设置后点击“下一步”按钮,即可开始制作木马自解压程序。
整个制作过程是在DOS下进行的,在完成度达到100%后会弹出提示窗口,点击“完成”,木马程序与合法程序的捆绑工作就完成了(格式为EXE),直接双击即可运行。
你再用杀毒软件查一查。
怎么样?已经完全不会被查出来了吧。
现在还等什么?赶快利用“木马屠城”介绍过的网页木马传播技术或木马电子书技术发布你的木马去吧。
当然,你也可以把它作为IE的重要补丁发送给别人。
不用第三方工具,无需过多的加壳伪装,让“Windows”来为我们服务,为我们捆绑木马,岂不快哉。
第二步 接下来选择制作木马自解压包的三种打包方式(图2),它们分别是建立自解压并自动安装压缩包(Extract files and run an installation command)、建立自解压压缩包(Extract files only)和建立CAB压缩包(Create compressed files only)。
因为我们要制作的是木马解压包,所以应该选择第一项。
在输入压缩包标题后点击“下一步”按钮。
第三步 在“确认提示”(Confirmation prompt)这一环节,软件会询问在木马程序解包前是否提示用户进行确认,由于我们是在制作木马程序的解压包,当然越隐蔽越好,选择第一项“不提示”(No prompt),这么做的目的是让中招人毫无防备。
点击“下一步”按钮,在接下来的添加“用户允许协议”(License agreement)中添加一个伪装的用户协议迷惑中招者,选择“显示用户允许协议”(Display a license),点击“Browse”选择一份编辑好的TXT文档,此文档可以用微软公司的名义来编辑,设置完毕后点击“下一步”。
这一步的目的是迷惑对手并隐藏木马安装的过程。
第四步 现在,我们就进入了文件列表窗口(Packaged files)。
点击该窗口中的“Add”按钮添加木马和将要与木马程序捆绑在一起的合法程序。
根据刚才编辑的协议文件的内容添加合法程序。
例如,你制作的协议和IE补丁包相...
转载请注明出处51数据库 » compressed files pas
我的男神是老王丶