|
@@ -197,13 +197,13 @@ ext xcf, X, flag f = gimp -- "$@"
|
|
|
ext 7z, has 7z = 7z -p l "$@" | "$PAGER"
|
|
|
# This requires atool
|
|
|
ext ace|ar|arc|bz2?|cab|cpio|cpt|deb|dgc|dmg|gz, has atool = atool --list --each -- "$@" | "$PAGER"
|
|
|
-ext iso|jar|msi|pkg|rar|shar|tar|tgz|xar|xpi|xz|zip, has atool = atool --list --each -- "$@" | "$PAGER"
|
|
|
+ext iso|jar|msi|pkg|rar|shar|tar|tgz|xar|xpi|txz|xz|zip, has atool = atool --list --each -- "$@" | "$PAGER"
|
|
|
ext 7z|ace|ar|arc|bz2?|cab|cpio|cpt|deb|dgc|dmg|gz, has atool = atool --extract --each -- "$@"
|
|
|
-ext iso|jar|msi|pkg|rar|shar|tar|tgz|xar|xpi|xz|zip, has atool = atool --extract --each -- "$@"
|
|
|
+ext iso|jar|msi|pkg|rar|shar|tar|tgz|xar|xpi|txz|xz|zip, has atool = atool --extract --each -- "$@"
|
|
|
|
|
|
# Listing and extracting archives without atool:
|
|
|
-ext tar|gz|bz2|xz, has tar = tar vvtf "$1" | "$PAGER"
|
|
|
-ext tar|gz|bz2|xz, has tar = for file in "$@"; do tar vvxf "$file"; done
|
|
|
+ext tar|gz|bz2|tgz|txz|xz, has tar = tar vvtf "$1" | "$PAGER"
|
|
|
+ext tar|gz|bz2|tgz|txz|xz, has tar = for file in "$@"; do tar vvxf "$file"; done
|
|
|
ext bz2, has bzip2 = for file in "$@"; do bzip2 -dk "$file"; done
|
|
|
ext zip, has unzip = unzip -l "$1" | less
|
|
|
ext zip, has unzip = for file in "$@"; do unzip -d "${file%.*}" "$file"; done
|