youtube-upload icon indicating copy to clipboard operation
youtube-upload copied to clipboard

any way to upload a video with a multi-line description

Open robertJene opened this issue 1 year ago • 1 comments

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"

robertJene avatar Jan 15 '24 09:01 robertJene

Try this:

description=`cat <<_EOF_
line 1
line 2
line 3
_EOF_
`
...
youtube-upload \
--title="intro description test" \
--description="$description" \
...

p0i5k avatar Mar 04 '24 21:03 p0i5k