Debian Codegraph @

data/compression

raw
1 [gzip-test]
2 files = *.gz *.tgz
3 types = application/gzip
4 command = gzip --test {files}
5 not-dirs = .git .svn .bzr CVS .hg _darcs _FOSSIL_ .sgdrawer .pc
6
7 [bzip2-test]
8 apt = bzip2
9 files = *.bz2 *.tbz
10 types = application/x-bzip2
11 command = bzip2 --test {files}
12 not-dirs = .git .svn .bzr CVS .hg _darcs _FOSSIL_ .sgdrawer .pc
13
14 [xz-test]
15 apt = xz-utils
16 files = *.xz *.txz
17 types = application/x-xz
18 command = xz --test {files}
19 not-dirs = .git .svn .bzr CVS .hg _darcs _FOSSIL_ .sgdrawer .pc
20
21 [lzma-test]
22 apt = xz-utils
23 files = *.lzma
24 types = application/x-lzma
25 command = lzma --test {files}
26 not-dirs = .git .svn .bzr CVS .hg _darcs _FOSSIL_ .sgdrawer .pc
27
28 [lzo-test]
29 apt = lzop
30 files = *.lzo
31 command = lzop --test {files}
32 not-dirs = .git .svn .bzr CVS .hg _darcs _FOSSIL_ .sgdrawer .pc
33
34 [lzip-test]
35 apt = lzip
36 files = *.lzip
37 types = application/x-lzip
38 command = lzip --test {files}
39 not-dirs = .git .svn .bzr CVS .hg _darcs _FOSSIL_ .sgdrawer .pc
40
41 [unzip-test]
42 flags = fixme fixme-silent
43 apt = unzip
44 # Extension list from the File Formats wiki:
45 # http://fileformats.archiveteam.org/wiki/Category:ZIP_based_file_formats
46 # TODO: update it before releases:
47 # echo ' *.xpi *.sb2 *.pk3 *.wz *.love *.zhfst'
48 # curl -s http://fileformats.archiveteam.org/wiki/Category:ZIP_based_file_formats |
49 # sed -n '/ bodycontent/,/\/bodycontent/p' |
50 # sed -n 's_.*\(/wiki/[^"]*\).*_\1_p' |
51 # xargs -d'\n' -n1 -i_ curl -s 'http://fileformats.archiveteam.org_?action=raw' |
52 # grep extensions= |
53 # sed 's_| *extensions *= *_ _;s_{{ext|\([^}]*\)}} *,* *_*.\1 _g;s_others__;s/ *$//'
54 files =
55 *.xpi *.sb2 *.pk3 *.wz *.love *.zhfst
56 *.apk
57 *.cbz *.cbr *.cbt *.cba *.cb7
58 *.epub
59 *.docx
60 *.epub
61 *.folio
62 *.ggb
63 *.it *.itbz *.itgz *.itr *.itz
64 *.ipa
65 *.jar *.j
66 *.cel *.kcf
67 *.kra
68 *.maff
69 *.docx *.xlsx *.pptx
70 *.ofip
71 *.odm *.odt *.ods *.odg *.odp *.odc *.odi *.odf *.odb *.ott *.ots *.otg *.otp *.otc *.oti *.otf *.oth *.fodt *.fods *.fodg *.fodp
72 *.odg *.fodg *.otg
73 *.odp *.fodp *.otp
74 *.ods *.fods *.ots
75 *.odt *.fodt *.ott
76 *.ora
77 *.oxps *.xps
78 *.otx
79 *.pkpass
80 *.epub
81 *.exe
82 *.svx
83 *.sxd *.std
84 *.sxi *.sti
85 *.sxw
86 *.xlsb
87 *.xlsx
88 *.zip
89 types = application/zip
90 command = unzip -q -t {file} | grep -v '^No errors detected in compressed data of '
91 not-dirs = .git .svn .bzr CVS .hg _darcs _FOSSIL_ .sgdrawer .pc
92
93 [7z-test]
94 flags = fixme fixme-silent
95 apt = 7zip
96 files = *.7z
97 types = application/x-7z-compressed
98 command = 7zr t {file} | grep -Pzo '(?s)Processing archive: .*\n\nError[^\n]*' | tr -s '\n'
99 not-dirs = .git .svn .bzr CVS .hg _darcs _FOSSIL_ .sgdrawer .pc
100
101 [rzip-test]
102 flags = todo
103 comment = the --test argument is not supported and runzip -o /dev/null gives an error
104 apt = rzip
105 files = *.rz
106 command = rzip --test {files}
107 not-dirs = .git .svn .bzr CVS .hg _darcs _FOSSIL_ .sgdrawer .pc
108
109 [lrzip-test]
110 flags = todo
111 comment = All the tests I did killed my computer
112 apt = lrzip
113 files = *.lrz
114 types = application/x-lrzip
115 command = lrzip --test {files}
116 not-dirs = .git .svn .bzr CVS .hg _darcs _FOSSIL_ .sgdrawer .pc
117
118 [zstd-test]
119 apt = zstd
120 files = *.zst
121 types = application/x-zstd
122 command = zstd --quiet --test {file}
123 not-dirs = .git .svn .bzr CVS .hg _darcs _FOSSIL_ .sgdrawer .pc
124
125 [lz4-test]
126 apt = liblz4-tool
127 files = *.lz4
128 types = application/x-lz4
129 command = lz4 --quiet --test {file}
130 not-dirs = .git .svn .bzr CVS .hg _darcs _FOSSIL_ .sgdrawer .pc
131
132 # vim:ft=dosini