[pp:exec] use non-UNC path replacements (#8879)

provide '{_path_unc}' and '{_directory_unc}' replacement fields
This commit is contained in:
Mike Fährmann
2026-02-14 11:25:08 +01:00
parent d99c8c1320
commit 98eb857794
4 changed files with 32 additions and 19 deletions

View File

@@ -899,7 +899,8 @@ def build_parser():
action=AppendCommandAction, const={"name": "exec"},
help=("Execute CMD for each downloaded file. "
"Supported replacement fields are "
"{} or {_path}, {_directory}, {_filename}. "
"{} or {_path}, {_temppath}, {_directory}, {_filename}. "
"On Windows, use {_path_unc} or {_directory_unc} for UNC paths. "
"Example: --exec \"convert {} {}.png && rm {}\""),
)
postprocessor.add_argument(