- Give it executable permissions
- Move it to PATH
- Use the script by writing in stdin
ytblogsync
I also run a blog– and I also run a YouTube channel. I wanted to be able to post a YouTube video and then create a post on my blog containing my video.
Instead of doing this manually– I then created a bash script instead. It simply grabs the latest video that has been posted from videos.xml
.
- CLI tool functionality
- Nonpredefined variables
- Error handling
- Multiple blog posts