Skip to content

Instantly share code, notes, and snippets.

@XayOn
Created October 22, 2012 23:05
Show Gist options
  • Save XayOn/3935320 to your computer and use it in GitHub Desktop.
Save XayOn/3935320 to your computer and use it in GitHub Desktop.
Make a screencast and upload it to youtube
read -p "Press enter to select window"
tmp=$(mktemp);
recordmydesktop --windowid $(xwininfo | awk '/Window id:/ {print $4}') -o $tmp && {
read -p "Enter video category: " category
read -p "Enter video title: " title
read -p "Enter video summary" summary
google youtube post --title "$title" --summary "$summary" --category "Tech" $tmp
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment