diff options
| author | Steph Enders <steph@senders.io> | 2025-12-07 13:36:43 -0500 |
|---|---|---|
| committer | Steph Enders <steph@senders.io> | 2025-12-07 14:44:12 -0500 |
| commit | fe1c547893d97e9432c87b0838ff19bfdb7b9ea5 (patch) | |
| tree | c10fe0fa4795792cce8255347ad4c33238927da7 /README.txt | |
| parent | f03544add8fffefadefba7587a39b1c7289e46b3 (diff) | |
Add support for setting target directory
Includes some enhancements and updates on how arguments/options are
parsed.
Passing `-d /target/dir` you can specify an output directory:
`./yt-dlp-best -d /home/$USER/Videos/ 'https://example.com?my=video'`
The file will first be written to a temporary directory (leveraging
mktemp if available on the system; else a default directory created in
/tmp/) then moved to your target directory.
This will allow for targetting a slower / networked drive and avoid
both the video & audio write and merge happening over the networked
disk.
Future improvement would be to add a -t to allow passing in a specific
temp dir.
Diffstat (limited to 'README.txt')
0 files changed, 0 insertions, 0 deletions