Then set a default download location in this file: -output "~/Desktop/%(title)s.%(ext)s" This example sends the completed download to your Desktop.Ĭreate a configuration file for youtube-dl as follows: touch ~/.config/nf Use the -o option with youtube-dl to manually give a location for the downloaded files: youtube-dl -o "~/Desktop/%(title)s.%(ext)s" 'youtube file url'Īnd of course substitute your actual url for 'youtube file url'. This behavior can be modified in either of two ways:
Usually this is your $HOME environment, but not always. Where does Youtube-dl download YouTube files?īy default youtube-dl will download the files in the current working directory of the Terminal that you have opened. It is simply run from any Terminal window as follows: youtube-dl url ĭetails of the command line options can be easily seen by running the following command: youtube-dl -hĮxperiment a little to make youtube-dl work as you wish.Ģ. This is because youtube-dl is run from a Terminal window only and does not come with icons, desktop files and the like.