aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2021-04-11 05:39:55 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2021-04-11 06:06:12 +0530
commit9de3ea31269c396dabf5b26f92fa65bc99038ede (patch)
tree4be7d0a920a52f8f9b43696857c3c21eff99cdf9 /README.md
parente01d6aa4352ea76059f4dfcd06637311dc8a8389 (diff)
downloadhypervideo-pre-9de3ea31269c396dabf5b26f92fa65bc99038ede.tar.lz
hypervideo-pre-9de3ea31269c396dabf5b26f92fa65bc99038ede.tar.xz
hypervideo-pre-9de3ea31269c396dabf5b26f92fa65bc99038ede.zip
Pass any field to `--exec` using similar syntax to output template
Related: https://github.com/ytdl-org/youtube-dl/issues/28642
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 8 insertions, 3 deletions
diff --git a/README.md b/README.md
index e689f955a..a7832508b 100644
--- a/README.md
+++ b/README.md
@@ -686,9 +686,14 @@ Then simply run `make`. You can also run `make yt-dlp` instead to compile only t
path to the binary or its containing
directory
--exec CMD Execute a command on the file after
- downloading and post-processing, similar to
- find's -exec syntax. Example: --exec 'adb
- push {} /sdcard/Music/ && rm {}'
+ downloading and post-processing. Similar
+ syntax to the output template can be used
+ to pass any field as arguments to the
+ command. An additional field "filepath"
+ that contains the final path of the
+ downloaded file is also available. If no
+ fields are passed, "%(filepath)s" is
+ appended to the end of the command
--convert-subs FORMAT Convert the subtitles to another format
(currently supported: srt|ass|vtt|lrc)
(Alias: --convert-subtitles)