Page tree

Welcome to FreeSoftwareServers Confluence Wiki

Skip to end of metadata
Go to start of metadata

sudo curl -L -o /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dl

youtube-dl #URL

Thats it, worked for me in under 5 minutes! Love Linux!

youtube-dl [OPTIONS] URL [URL...]
Flags I use 
# Extract Audio, this literally only downloads Audio, can be 5MB vs 100MB
# Do not mark videos watched (YouTube only)
# Failed DL partway thru a playlist?
--playlist-start NUMBER          Playlist video to start at (default is 1)
--playlist-end NUMBER            Playlist video to end at (default is last)

Lets say you wanted to ALWAYS only keep the Audio and save the files in ~/YouTubeMp3s/.

You can use --ignore-config if you want to disable the configuration file for a particular youtube-dl run.

sudo nano /etc/youtube-dl.conf

-o ~/YouTubeMp3s/%(title)s.%(ext)s

Note : that options in configuration file are just the same options aka switches used in regular command line calls thus there must be no whitespace after - or --

Check out FileBot File Renamer to Fix up your Library!

  • No labels