wintermute123 / youtube-upload

Automatically exported from code.google.com/p/youtube-upload
0 stars 0 forks source link

Script send all video files to youtube account #97

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I wrote easy script which send all files from /video folder to youtube account. 
Maybe someone want to use it.

Scipt is in the attached file.

#!/bin/bash
cd /video/
read -p "speed:" speed
read -p "user:" user
read -s -p "password:" password
youtube-upload --get-upload-form-info -t movie -c People --private  -m "$user" 
-p "$password" `ls | egrep -w 'MOV|mov|AVI|avi|MPG|mpg|FLV|flv|MP4|mp4|WMV|wmv' 
| xargs` | upload_with_curl.sh --limit-rate "$speed"k

Original issue reported on code.google.com by djto...@googlemail.com on 28 Feb 2013 at 12:01

Attachments:

GoogleCodeExporter commented 8 years ago
If you upload the script somewhere (gist.github ?) I will link it from 
https://code.google.com/p/youtube-upload/wiki/UserContributions

Original comment by tokland on 28 Feb 2013 at 1:04

GoogleCodeExporter commented 8 years ago

Original comment by tokland on 13 May 2014 at 2:55