All tools/youtube-dl

youtube-dl

youtube-dl

A command-line program to download videos from YouTube.com and a few more sites.

Detected by youtube-dl | macOS, Linux, Windows |ytdl-org.github.io

Sync rules

What travels, what stays, what never leaves
youtube-dl in your home directory Every rule on this page, by file
--no-mtime
--restrict-filenames
--output ~/Movies/%(uploader)s/%(title)s.%(ext)s
--cache-dir /Users/octocat/.cache/youtube-dlmachine-local
--ffmpeg-location /opt/homebrew/bin/ffmpeg
--cookies /Users/octocat/.config/youtube-dl/cookies.txtmachine-local

Each machine keeps its own copy of these.

--restrict-filenames
--output ~/Movies/%(uploader)s/%(title)s.%(ext)s
--cache-dir /Users/octocat/.cache/youtube-dl
--ffmpeg-location /opt/homebrew/bin/ffmpegmachine-local
--cookies /Users/octocat/.config/youtube-dl/cookies.txt

Each machine keeps its own copy of these.

# C:\Users\octocat\youtube-dl.conf
--no-mtime
--restrict-filenames
--cache-dir C:\Users\octocat\AppData\Local\youtube-dlmachine-local
--ffmpeg-location C:\Users\octocat\scoop\apps\ffmpeg\current\bin
--cookies C:\Users\octocat\youtube-dl-cookies.txtmachine-local

Each machine keeps its own copy of these.

--no-mtime
--restrict-filenames
--cache-dir C:\Users\octocat\AppData\Local\youtube-dl
--ffmpeg-location C:\Users\octocat\scoop\apps\ffmpeg\current\binmachine-local
--cookies C:\Users\octocat\youtube-dl-cookies.txt

Each machine keeps its own copy of these.

--no-mtime
--restrict-filenames
--output C:\Users\octocat\Videos\%(title)s.%(ext)s
--cache-dir C:\Users\octocat\AppData\Local\youtube-dlmachine-local
--ffmpeg-location C:\Users\octocat\scoop\apps\ffmpeg\current\bin
--cookies C:\Users\octocat\AppData\Roaming\youtube-dl\cookies.txtmachine-local

Each machine keeps its own copy of these.

--restrict-filenames
--output C:\Users\octocat\Videos\%(title)s.%(ext)s
--cache-dir C:\Users\octocat\AppData\Local\youtube-dl
--ffmpeg-location C:\Users\octocat\scoop\apps\ffmpeg\current\binmachine-local
--cookies C:\Users\octocat\AppData\Roaming\youtube-dl\cookies.txt

Each machine keeps its own copy of these.

· ~/.cache/youtube-dl/ Exclude

Only what the catalog names. A directory that syncs brings everything inside it except what is listed as excluded here.

Use it with your dotfile manager

Same data, in the shape your tool already reads
Opens Otty and adds this tool to what it syncs

Opens otty://sync/add/youtube-dl. Otty ships with this catalog, so the link only has to name the tool — nothing is downloaded.

Every one of these is generated from the same rules as this page. None of them splits --cache-dir and --cookies for you — that part is Otty’s own sync, or a template you write by hand.