how to set up default download location in youtube-dl

后端 未结 6 1136
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-30 09:16

how can I set default download location in youtube-dl so that everything that I download with youtube-dl goes into that default directory?

6条回答
  •  北海茫月
    2021-01-30 09:33

    Depending on your needs, I think moving the file afterwards would be just as usefull:

    --exec CMD                       Execute a command on the file after
                                     downloading, similar to find's -exec
                                     syntax. Example: --exec 'adb push {}
                                     /sdcard/Music/ && rm {}'
    

    By creating a function which will move the file

提交回复
热议问题