Script send all video files to youtube account
Closed this issue · 2 comments
GoogleCodeExporter commented
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
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
- Changed state: Done
GoogleCodeExporter commented
Original comment by tokland
on 13 May 2014 at 2:55