OSDN Git Service

7zコマンドでのzip作成に対応。
[tpi/lychee.git] / bin / lib / cuiWrapper.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <libraries>
3  <library name="7z" typename="7z" suffix="7z;zip;lzh;lha;cab;nsis;rpm;deb;cpio;iso;msi"
4         list    ='l -- "%90"'
5         list-line-s ='------------------- ----- ------------ ------------  ------------------------' list-line-c="1"
6         list-fname-s="53"
7         list-usize-s="26" list-usize-c="12"
8         list-psize-s="40" list-psize-c="12"
9         list-date-s = "0" list-date-c ="19" list-date-f="%Y-%m-%d %H:%M:%S"
10         level-min="0" level-max="9"
11         add     ='a -t7z -mx=%94 %a1{-sfx|} -ms=%a2{on|off} -mhe=%a4{on|off} %a5{"-p#"|} %a7{-v#|} -- "%90" "@%92"'
12         extract ='%a0{x|e} %a5{-p#|} "-o%91" -- "%90" "@%92"'
13         delete  ='d -ms=off -- "%90" "@%92"'
14         test    ='t -- "%90" "@%92"' />
15  <library name="7z" typename="7-Zip" suffix="zip"
16         level-min="0" level-max="9"
17         add     ='a -tzip -mx=%94 %a1{-sfx|} %a5{"-p#"|} %a7{-v#|} -- "%90" "@%92"' />
18  <library name="tar" typename="Tar+XZ" suffix="tar.xz" quote-resp="0"
19         add     ='-c -J -f "%90" -T "%92"' />
20  <library name="tar" typename="Tar+GZip" suffix="tar.gz" quote-resp="0"
21         add     ='-c -z -f "%90" -T "%92"' />
22  <library name="tar" typename="Tar+BZip2" suffix="tar.bz2" quote-resp="0"
23         add     ='-c -j -f "%90" -T "%92"' />
24  <library name="tar" typename="Tar+Z" suffix="tar.Z" quote-resp="0"
25         add     ='-c -Z -f "%90" -T "%92"' />
26  <library name="tar" typename="Tar" suffix="tar;tar.gz;tar.bz2;tar.Z;.tar.xz;tgz" quote-resp="0"
27         list    ='-t -v -f "%90" | awk &apos;{ printf "%%10d %%s %%s %%s\n",$3,$4,$5,$6 }&apos;'
28         list-line-s ='' list-line-c = "1"
29         list-fname-s="28"
30         list-usize-s= "0" list-usize-c="10"
31         list-date-s ="11" list-date-c ="16" list-date-f="%Y-%m-%d %H:%M"
32         add     ='-c -f "%90" -T "%92"'
33         extract ='-x %a0{|--xform=&apos;s|.*/\([^/]*\)|\1|&apos;} -f "%90" -C "%91" -T "%92"'
34         delete  ='--delete -f "%90" -T "%92"' />
35  <library name="gzip" typename="GZip" suffix="gz;Z" quote-resp="0"
36         list    ='-l -v "%90"'
37         list-line-s ='method  crc     date  time           compressed        uncompressed  ratio uncompressed_name' list-line-c = "1"
38         list-fname-s="75"
39         list-usize-s="48" list-usize-c="19"
40         list-psize-s="28" list-psize-c="19"
41         list-date-s ="15" list-date-c ="12" list-date-f="%b %d %H:%M"
42         level-min="1" level-max="9"
43         add     ='-%94 -c `cat "%92"` &gt; "%90"'
44         extract ='-d -c "%90" &gt; "%91`basename "%90" .gz`"'
45         test    ='-t "%90"' />
46  <library name="unrar" suffix="rar"
47         list    ='v -c- -- "%90"'
48         list-line-s ='-------------------------------------------------------------------------------' list-line-c="2"
49         list-fname-s= "1"
50         list-usize-s="14" list-usize-c= "8" list-usize-l="1"
51         list-psize-s="23" list-psize-c= "8" list-psize-l="1"
52         list-date-s ="37" list-date-c ="14" list-date-l ="1" list-date-f="%d-%m-%y %H:%M"
53         extract ='%a0{x|e} %a5{"-p#"|} -- "%90" "@%92" "%91"'
54         test    ='t -- "%90" "@%92"' />
55  <library name="innounp" suffix="inno"
56         list    ='-v "%90"'
57         list-line-s ='--------------------------------------' list-line-c="1"
58         list-fname-s="30"
59         list-usize-s= "0" list-usize-c="10"
60         list-date-s ="12" list-date-c ="16" list-date-f="%Y.%m.%d %H:%M"
61         extract ='-%a0{x|e} %a5{"-p#"|} "-d%91" "%90" "@%92"' />
62  <library name="dgcac" typename="DGCA" suffix="dgc" quote-resp="0"
63         list    ='l "%90"'
64         list-line-s ='------------------------- ------------------- ------------ ------------ -------' list-line-c="1"
65         list-fname-s= "0" list-fname-c="25"
66         list-usize-s="46" list-usize-c="12"
67         list-psize-s="60" list-psize-c="12"
68         list-date-s ="26" list-date-c ="19" list-date-f="%Y/%m/%d %H:%M:%S"
69         add     ='a %a5{"-p#"|} %a6{"-k#"|} "-o%92" "%90"'
70         extract ='e %a5{"-p#"|} %a6{"-k#"|} "-o%92" "%90"' />
71  <!--
72 ; cuiWrapper plug-in.
73 ;   Constant:
74 ;           %%  : %
75 ;   Variable:
76 ;           %90 : Archive name.
77 ;           %92 : Response file name.
78 ;           %93 : Target files.
79 ;       Add:
80 ;           %91 : Base directory.
81 ;           %94 : Compression level.
82 ;           %95 : Recovery Record.
83 ;           %96 : Comment.
84 ;       Extract/Sfx:
85 ;           %91 : Destination directory.
86 ;   Valiable/If:
87 ;           %a0 : Enable pathes.
88 ;       Add:
89 ;           %a1 : Make SFX.
90 ;           %a2 : Solid compression.
91 ;           %a3 : Multimedia optimization.
92 ;           %a4 : Encrypt header.
93 ;           %a5 : Enable Password.(Use # for actual string)
94 ;           %a6 : Enable Keyfile. (Use # for actual string)
95 ;           %a7 : Split size.     (Use # for actual size)
96  -->
97 </libraries>