Skip to content

Instantly share code, notes, and snippets.

@ebith
Created September 17, 2012 14:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ebith/3737689 to your computer and use it in GitHub Desktop.
Save ebith/3737689 to your computer and use it in GitHub Desktop.
7zG.exe用B2Eスクリプト
load:
(name 7zG.exe)
(type 7z LZMA *LZMA2)
encode:
(if (method 1) (cmd a -t7z -m0=LZMA (arc.7z) (list\*)))
(if (method 2) (cmd a -t7z -m0=LZMA2 (arc.7z) (list\*)))
load:
(name 7zG.exe)
(type zip Store *LZMA)
encode:
(if (method 1) (cmd a -tzip -mx=0 (arc.zip) (list\*)))
(if (method 2) (cmd a -tzip -mm=LZMA (arc.zip) (list\*)))
load:
(name 7zG.exe)
decode:
(let d (dir))
(cmd x (arc) -o%d)
list:
(xscan "---" 1 "---" 1 53 7z.exe l (arc))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment