Tag Archives: bash

HPR: A private data cloud

In this months Hacker Public Radio show I talk about setting up a secure ‘private data cloud’ solution where I use rsync over ssh to backup my data to a remote location. Continue reading

Posted in General, Podcasts | Tagged , , , , | Leave a comment

HPR: Bash Loops

I have been thinking about doing a small episode on bash loops for some time after I heard the guys at the The Linux Cranks discussing the topic. Well I found some time to record the show on my way … Continue reading

Posted in Podcasts | Tagged , , | Leave a comment

HPR ep0386 :: SSH config file

This episode spawned from some feedback I sent to klatuu from The Bad Apples podcast. I’ve been using my .ssh/config to simplify long or commonly used ssh commands. Say you want to login to your home machine (mymachine.dynamicdns.org) as user … Continue reading

Posted in Podcasts | Tagged , , , | 2 Comments

Wikipedia text to speech

A do it yourself Wikipedia text to speech tool from the command line using wget, html2text, espeak and ffmpeg. Continue reading

Posted in General | Tagged , | 1 Comment

faster: a bashpodder plugin

I’ve been asked to supply the script that I use to speed up podcasts. So here it is: #!/bin/bash # v0.3 20080919 https://kenfallon.com if [ -d “${*}” ]; then cd “${*}” ls -1 2>/dev/null | while read FILE;do FILENAME=${FILE##*/} sox … Continue reading

Posted in Podcasts | Tagged , , , , | 2 Comments

HPR Episode 3 tips posted.

Three bash tips from HPR 185. Progress updates with a bash loop, speeding up podcasts and copying directories with tar. Continue reading

Posted in Podcasts | Tagged , , , , , | 4 Comments

Finding the leaves in a tree

I often have deep directory trees where I am only interested in the deepest layers and not the supporting sub directories. An example of this might be a music collection where you have moved all your albums into directories based … Continue reading

Posted in General | Tagged | Leave a comment

Quick and dirty filename cleanup

In a follow on from my last post, I want to talk about replacing spaces with underscores. To do this you can use the tr command. From the man page tr will “Translate, squeeze, and/or delete characters from standard input, … Continue reading

Posted in General | Tagged | 1 Comment

Bash scripting and files with spaces in them

I’ve decided to post this one as it’s one of those things that I have come across so often but each time I froget the solution. The problem arises when you are trying to script using the for command and … Continue reading

Posted in General | Tagged | 3 Comments

Finished part 3 of LPIC for Hacker Public Radio

Finally. Last night finished recording the third part in the Linux Professional Institute Certification series for Hacker Public radio. This episode gives a general background to how a Hard Disk works. The main points were: How Linux names hard disks … Continue reading

Posted in Podcasts | Tagged , , , | Leave a comment