Пользователь
Сообщения: 64
Благодарности: 0
|
Профиль
|
Сайт
|
Отправить PM
| Цитировать
### Archives ###
# .tgz, .tpz, .tar.gz, .tar.z, .tar.Z
regex/\.t([gp]?z|ar\.g?[zZ])$
Open=%cd %p#utar
View=%view{ascii} gzip -dc %f 2>/dev/null | tar tvvf -
regex/\.tar\.bz$
# Open=%cd %p#utar
View=%view{ascii} bzip -dc %f 2>/dev/null | tar tvvf -
regex/\.tar\.bz2$
Open=%cd %p#utar
View=%view{ascii} bzip2 -dc %f 2>/dev/null | tar tvvf -
# .tar.F - used in QNX
regex/\.tar\.F$
# Open=%cd %p#utar
View=%view{ascii} freeze -dc %f 2>/dev/null | tar tvvf -
# tar
regex/\.(tar|TAR)$
Open=%cd %p#utar
View=%view{ascii} tar tvvf %f
# zip
type/^Zip\ archive
Open=%cd %p#uzip
View=%view{ascii} unzip -v %f
# zoo
regex/\.(zoo|ZOO)$
Open=%cd %p#uzoo
View=%view{ascii} zoo l %f
# lha
type/^LHa\ .*archive
Open=%cd %p#ulha
View=%view{ascii} lha l %f
# arj
regex/\.a(rj|[0-9][0-9])$
Open=%cd %p#uarj
View=%view{ascii} unarj l %f
# ha
regex/\.(ha|HA|Ha)$
Open=%cd %p#uha
View=%view{ascii} ha lf %f
# rar
regex/\.[rR]([aA][rR]|[0-9][0-9])$
Open=%cd %p#urar
View=%view{ascii} rar v -c- %f
# cpio
shell/.cpio.Z
Open=%cd %p#ucpio
View=%view{ascii} gzip -dc '%f' | cpio -itv 2>/dev/null
shell/.cpio.gz
Open=%cd %p#ucpio
View=%view{ascii} gzip -dc '%f' | cpio -itv 2>/dev/null
shell/.cpio
Open=%cd %p#ucpio
View=%view{ascii} cpio -itv <'%f' 2>/dev/null
# ls-lR
regex/(^|\.)ls-?lR(\.g?z|Z|bz2)?$
Open=%cd %p#lslR
# patch
regex/\.(diff|patch)(\.(bz2|gz|Z))?$
Open=%cd %p#patchfs
# gzip
type/^gzip
Open=gzip -dc %f | %var{PAGER:more}
View=%view{ascii} gzip -dc %f 2>/dev/null
# bzip2
type/^bzip2
Open=bzip2 -dc %f | %var{PAGER:more}
View=%view{ascii} bzip2 -dc %f 2>/dev/null
# bzip
type/^bzip
Open=bzip -dc %f | %var{PAGER:more}
View=%view{ascii} bzip -dc %f 2>/dev/null
# compress
type/^compress
Open=gzip -dc %f | %var{PAGER:more}
View=%view{ascii} gzip -dc %f 2>/dev/null
# ar library
regex/\.s?a$
Open=%cd %p#uar
#Open=%view{ascii} ar tv %f
View=%view{ascii} file %f && nm %f
# trpm
regex/\.trpm$
Open=%cd %p#trpm
View=%view{ascii} rpm -qivl --scripts `basename %p .trpm`
# RPM packages (SuSE uses *.spm for source packages)
regex/\.(rpm|spm)$
Open=%cd %p#rpm
View=%view{ascii} if rpm --nosignature --version >/dev/null 2>&1; then RPM="rpm --nosignature" ; else RPM="rpm" ; fi ; $RPM -qivlp --scripts %f
# deb
regex/\.deb$
Open=%cd %p#deb
View=%view{ascii} dpkg-deb -c %f
Вот вырезка с моего ~/mc/bindings
для архивов
|
Отправлено: 22:29, 23-09-2003
| #9
|