Open robertJene opened 6 months ago
I want to upload videos with multi-line descriptions.
Say, for example, I have the description saved in a text box.
Then I run a script that spits out a command in a batch file.
I want all the lines of the description to upload, not just the first line
Example: youtube-upload ^ --title="intro description test" ^ --description="multi line description" ^ --category="Music" ^ --tags="mutter, beethoven" ^ --default-language="en" ^ --default-audio-language="en" ^ --client-secrets="my_client_secrets.json" ^ --credentials-file="my_credentials.json" ^ --playlist="My favorite music" ^ "look of disapproval INTRO.mp4"
Try this:
description=`cat <<_EOF_ line 1 line 2 line 3 _EOF_ ` ... youtube-upload \ --title="intro description test" \ --description="$description" \ ...
I want to upload videos with multi-line descriptions.
Say, for example, I have the description saved in a text box.
Then I run a script that spits out a command in a batch file.
I want all the lines of the description to upload, not just the first line
Example: youtube-upload ^ --title="intro description test" ^ --description="multi line description" ^ --category="Music" ^ --tags="mutter, beethoven" ^ --default-language="en" ^ --default-audio-language="en" ^ --client-secrets="my_client_secrets.json" ^ --credentials-file="my_credentials.json" ^ --playlist="My favorite music" ^ "look of disapproval INTRO.mp4"