Created
October 21, 2012 09:44
-
-
Save dirkk0/3926521 to your computer and use it in GitHub Desktop.
upload youtube videos via CLI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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