manimalx / youtube-upload

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

Continuous Uploads #116

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Version youtube-upload 0.7.3

Is there way to add a option to upload without a title, and use the file name 
as a title by default, and then allow the script to upload multiple files in a 
single directory? That way the user can upload multiple files with one command, 
and use crontab to run the upload whenever they would like:

i.e.

youtube-upload \  --email=my@gmail.com --password=mypw \  --category=People 
--keywords="test" /mydirectory/*.MP4

*.MP4 would upload all .MP4 files in /mydirectory/ until it has completed all 
uploads.

Original issue reported on code.google.com by kgoer...@gmail.com on 19 Aug 2013 at 9:10

GoogleCodeExporter commented 9 years ago
I'd prefer to keep the command interface clean, one command per upload. 
Instead, you can use the tools UNIX provides, which are very powerful. For 
example this simple bash script should do the job:

{{{
find some_directory -name '*.mp4' | while read FILE; do
  TITLE=$(basename "${FILE%\.*}")
  youtube-upload --title "$TITLE" .... "$FILE"
end
}}}

Original comment by tokland on 20 Aug 2013 at 12:10

GoogleCodeExporter commented 9 years ago

Original comment by tokland on 13 May 2014 at 8:32