Skip to content

Instantly share code, notes, and snippets.

@yaci
Last active August 26, 2017 00:50
Show Gist options
  • Save yaci/a285e5dcacadb853de59fdec5a8c99f2 to your computer and use it in GitHub Desktop.
Save yaci/a285e5dcacadb853de59fdec5a8c99f2 to your computer and use it in GitHub Desktop.

Revisions

  1. yaci revised this gist Aug 26, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion create7zipArchive.sh
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    7za a -t7z -m0=lzma2 -mx=9 -mfb=273 -md=256m -ms=on archiveName.7z inputFilesOrDir
    # -md - dictionary size
    # -md - dictionary size (256m dictionary requires 5gb+ RAM)
    # -ms=on - solid archive
    # to install 7z on ubuntu: apt-get install p7zip-full
  2. yaci created this gist Aug 25, 2017.
    4 changes: 4 additions & 0 deletions create7zipArchive.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    7za a -t7z -m0=lzma2 -mx=9 -mfb=273 -md=256m -ms=on archiveName.7z inputFilesOrDir
    # -md - dictionary size
    # -ms=on - solid archive
    # to install 7z on ubuntu: apt-get install p7zip-full