Friday 15 October 2010

Wipe a Hard Drive with Linux

sudo shred /dev/sdb -f -v -z --iterations=6

See: http://ubuntuforums.org/showthread.php?t=1331572

Add BBC Radio 4 to Synology Audio Station

Download the ASX file from http://bbcstreams.com/ (right click on the (link) and save as filename.txt

Open the saved file with Gedit and copy the line

mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio4/radio4_bb_live_eq1_sl0?BBC-UID=d4ec8a9b7be2b54f4179473740e0ac2

Paste in to User Defined Synology Audio Station URL field and change the mms to http.

Done

Friday 8 October 2010

Weekly Backup with Ubuntu, Rsync, Anacron and 2 Internal Hard Disks

1) Edit /etc/anacrontab

Code:
sudo gedit /etc/anacrontab

2) Add line to the bottom of the txt document - for more info see http://linuxgazette.net/104/odonovan.html

Code:
1 1 backup rsync -ravz /home /media/

where the fields mean:

1
the period in days indicating how often this command should be executed
1
the delay in minutes after Anacron begins before it should execute this command
backup
a unique identifier for this job so Anacron can keep track of when it was last executed
rsync...
the command to execute