Home
last modified time | relevance | path

Searched refs:_AddRule (Results 1 – 2 of 2) sorted by relevance

/haiku/src/apps/expander/
H A DExpanderRules.cpp50 _AddRule("", ".tar.gz", "tar -ztvf %s", "tar -zxf %s"); in ExpanderRules()
51 _AddRule("", ".tar.bz2", "tar -jtvf %s", "tar -jxf %s"); in ExpanderRules()
52 _AddRule("", ".tar.Z", "tar -Ztvf %s", "tar -Zxf %s"); in ExpanderRules()
53 _AddRule("", ".tgz", "tar -ztvf %s", "tar -zxf %s"); in ExpanderRules()
54 _AddRule("application/x-tar", ".tar", "tar -tvf %s", "tar -xf %s"); in ExpanderRules()
55 _AddRule("application/x-gzip", ".gz", "echo %s | sed 's/.gz$//g'", in ExpanderRules()
57 _AddRule("application/x-bzip2", ".bz2", "echo %s | sed 's/.bz2$//g'", in ExpanderRules()
59 _AddRule("application/zip", ".zip", "unzip -l %s", "unzip -o %s"); in ExpanderRules()
60 _AddRule("application/x-zip-compressed", ".zip", "unzip -l %s", in ExpanderRules()
62 _AddRule("application/x-rar", ".rar", "unrar v %s", "unrar x -y %s"); in ExpanderRules()
[all …]
H A DExpanderRules.h54 bool _AddRule(const char* mimetype,