zoukankan      html  css  js  c++  java
  • 7z usecaes

    1. Archive without compressing

    7z a -t7z -mx=0 OutputFilename InputFilename

    Descryption:

    a: command, add to archive.

    -t: switch, specifies archive type.

    -mx: specifies level of compression

    -m: switch, compression Method, x: parameter of this switch.

    e.g. [-mx=0] or [-mx=1] or [-mx=3]or [-mx=5] or [-mx=7] or [-mx=9]

    Level of compression, e.g.:

    0: No compression; 1: Fastest compressing. 9: Ultra compressing.

    Input:Single/Mutiple file(s) and/or single/multiple folder(s).

    ----------

    2. Compress - ultra

    7z a -t7z -mx=9 OutputFilename InputFilename

    Notice: -mx=0 -> -mx=9

    ----------

    3. Split to volumns

    3.1 Archive without compressing: 7z a -t7z -mx=0 -v20m OutputFilename InputFilename

    3.2 Archive and compress: 7z a -t7z -mx=9 -v20m OutputFilename InputFilename

    ----------

    4. Add password

    7z a -t7z -pYourPassword OutputFilename InputFilename

    ----------

    5. Hide content - hide info in head file, usually in the first volumn if any.

    7z a -t7z -pYourPassword -mhe OutputFilename InputFilename

    -mhe: Enables or disables archive header encryption.

    he: Parameter of -m, header encryption.

    ----------

    6. List up content

    7z l ArchiveName

    l: command, list.

    ----------

    7. Extract archive

    7.1 e - Extract files to one directory

    7z e InputFilename

    Descryption: extracts all files to the current directory.

    7z e InputFilename -oc:soft *.cpp -r

    Descryption: extracts all *.cpp files from archive to c:soft folder.

    7.2 x - Extract files with full paths

    7z x InputFilename

    Descryption: extracts all files to the current directory.

    7z x InputFilename -oc:soft *.cpp -r

    Descryption: extracts all *.cpp files from archive to c:soft folder.

  • 相关阅读:
    CUDA内存介绍
    CUDA10.0 官方手册 阅读笔记 章三 CUDA编程接口
    Texture Gather 讲解
    cuda学习--纹理内存
    计算机缓存Cache以及Cache Line详解
    nvidia的cuda编程api
    将ORBSLAM往ANDROID STUDIO 移植的时候一些坑
    解决Android10读取不到/sdcard/、/storage/emulated/0/文件的问题
    Android NDK 从入门到精通(汇总篇)
    好好说说c++内存序--以单例模式为例子
  • 原文地址:https://www.cnblogs.com/cnblogist/p/5896432.html
Copyright © 2011-2022 走看看