utaz: add case management sensitivity support

This commit is contained in:
2026-10-13 11:21:53 +02:00
parent 2cc767ecc2
commit 6bfc2804ab
5 changed files with 76 additions and 9 deletions
+23
View File
@@ -7,6 +7,29 @@ Versions follow `MAJOR.MINOR.PATCH-REVISION_STAGE_N` (e.g. `3.99.1-4_rc_1`).
---
## [Unreleased]
### Added
- `utaz -i` / `--ignore-case` and `-s` / `--case-sensitive` switches to match
archive extensions case-insensitively or not; the default is set by the new
`UTAZ_DEFAULT_IGNORE_CASE` key of the `[compress]` section (default `0`).
- `utaz` supports bare `.zst` files and `.tzst` archives; `taz -q` is now
effective.
### Fixed
- `taz`: a plain file with the `tar` format could be deleted instead of being
archived; existing `<item>.tar` files are no longer overwritten; trailing
slashes, `.`/`..` and names starting with `-` are handled; the `gzip`
fallback (no `pigz`) works again.
- `utaz`: single top-level directory flattening, `--no-dir` target location,
`foo.tar.gz` host directory name and `.tar.lz` extraction.
- `compress.sh`: option flags and loop variables no longer leak into the
interactive shell.
---
## [4.1.0] — 2026-05-07
### Added
+5
View File
@@ -49,6 +49,11 @@ PAGER=less
# never — always flatten into the current directory
#UTAZ_DEFAULT_DIR_MODE=auto
# utaz: Match archive extensions case-insensitively, so that FOO.ZIP or
# bar.Tar.GZ are recognised (0=no, 1=yes). Overridden per call with
# -i/--ignore-case or -s/--case-sensitive.
#UTAZ_DEFAULT_IGNORE_CASE=0
# ==============================================================================
[debug]
# (no configurable keys yet)
+5
View File
@@ -36,6 +36,11 @@ TERM=xterm-256color
# never — always flatten extraction into the current directory
#UTAZ_DEFAULT_DIR_MODE=auto
# utaz: Match archive extensions case-insensitively, so that FOO.ZIP or
# bar.Tar.GZ are recognised (0=no, 1=yes). Overridden per call with
# -i/--ignore-case or -s/--case-sensitive.
#UTAZ_DEFAULT_IGNORE_CASE=0
[debug]
# Section used by debug.sh (nothing yet)