Skip to content

Instantly share code, notes, and snippets.

@dirkk0
Created October 21, 2012 09:44
Show Gist options
  • Select an option

  • Save dirkk0/3926521 to your computer and use it in GitHub Desktop.

Select an option

Save dirkk0/3926521 to your computer and use it in GitHub Desktop.
upload youtube videos via CLI
# install the youtube-uploader. Get it here:
# http://code.google.com/p/youtube-upload/wiki/Readme
# - create a folder uploads
# - copy your wmv's to this folder
# - create a batch file or call this script like this
# ./doit.sh "The title as it appears on Youtube"
# The video will be private at first (see the --private flag).
# Also set the proper category tag.
ls -la uploads/"$1".wmv
youtube-upload --private --email=myMail@gmail.com --password=myPass --title="$1" --description="$1" --category=Games --keywords="My,Keywords" "uploads/$1.wmv"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment