Hi

For those of you running on a linux box with shell access here's a small bash script i knocked up to grab the latest BBC TV feeds and then untar them into a directory. Might need tweaking for your setup. Just add it as a daily cron and it becomes automated.

Jim.



#!/bin/bash
CURRENT_FILE_NAME=`date +%Y%m%d`
BBC_TV_URL="http://backstage.bbc.co.uk/feeds/tvradio/$CURRENT_FILE_NAME.tar.gz";;
wget --output-document=bbcdata/current.tar.gz $BBC_TV_URL
cd bbcdata
tar -zxvf current.tar.gz



Robert Edgar wrote:

A request/suggestion...

Would it be possible if >in addition< to the all the zip archives to have
just the current archive available unzipped.
As a new archive is released the unzipped files could be removed and
replaced with the new ones.

Thanks
Rob



-
Sent via the backstage.bbc.co.uk discussion group.  To unsubscribe, please 
visit http://backstage.bbc.co.uk/archives/2005/01/mailing_list.html.  
Unofficial list archive: http://www.mail-archive.com/[email protected]/




-
Sent via the backstage.bbc.co.uk discussion group.  To unsubscribe, please 
visit http://backstage.bbc.co.uk/archives/2005/01/mailing_list.html.  
Unofficial list archive: http://www.mail-archive.com/[email protected]/

Reply via email to