View Single Post
Old 03-29-2008, 01:14 PM   #14
carandol
Evangelist
carandol writes the songs that make the whole world sing.carandol writes the songs that make the whole world sing.carandol writes the songs that make the whole world sing.carandol writes the songs that make the whole world sing.carandol writes the songs that make the whole world sing.carandol writes the songs that make the whole world sing.carandol writes the songs that make the whole world sing.carandol writes the songs that make the whole world sing.carandol writes the songs that make the whole world sing.carandol writes the songs that make the whole world sing.carandol writes the songs that make the whole world sing.
 
carandol's Avatar
 
Posts: 423
Karma: 40938
Join Date: Dec 2007
Device: BeBook
Well, I'm familiar enough with the shell to do that, but not familiar enough to understand the results! Here's the output:

Code:
+ export GUARDIAN_PATH=/media/cf/newspapers/Guardian24/
+ GUARDIAN_PATH=/media/cf/newspapers/Guardian24/
+ /usr/bin/wired.sh start
run.sh: line 3: /usr/bin/wired.sh: No such file or directory
+ /usr/bin/wireless.sh start
run.sh: line 4: /usr/bin/wireless.sh: No such file or directory
+ rm -rf /media/cf/newspapers/Guardian24//Guardian.pdf
+ mkdir /media/cf/newspapers/Guardian24//Guardian.pdf
+++ date
++ echo Sat Mar 29 16:03:30 GMT 2008
+ echo '<?xml version="1.0" encoding="utf-8"?><package><metadata><dc-metadata><Title>The Guardian 24h edition</Title><Description>Downloaded: Sat Mar 29 16:03:30 GMT 2008</Description></dc-metadata><y-metadata><startpage>Guardian.pdf</startpage><image>icon.png</image><version>000</version></y-metadata></metadata></package>'
+ wget -O /media/cf/newspapers/Guardian24//Guardian.pdf/Guardian.pdf http://download.guardian.co.uk/g24/World.pdf
--16:03:30--  http://download.guardian.co.uk/g24/World.pdf
           => `/media/cf/newspapers/Guardian24//Guardian.pdf/Guardian.pdf'
Resolving download.guardian.co.uk... 77.91.249.32
Connecting to download.guardian.co.uk|77.91.249.32|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 255,185 (249K) [application/pdf]

100%[====================================>] 255,185      288.43K/s

16:03:31 (287.81 KB/s) - `/media/cf/newspapers/Guardian24//Guardian.pdf/Guardian.pdf' saved [255185/255185]

+ cp /media/cf/newspapers/Guardian24//get-guardian/icon.png /media/cf/newspapers/Guardian24//Guardian.pdf/icon.png
cp: cannot stat `/media/cf/newspapers/Guardian24//get-guardian/icon.png': No such file or directory
+ /usr/bin/wired.sh stop
run.sh: line 10: /usr/bin/wired.sh: No such file or directory
+ /usr/bin/wireless.sh stop
run.sh: line 11: /usr/bin/wireless.sh: No such file or directory
It's definitely downloading the file, but when I look at it, it's only 8kb and doesn't have the icon attached, just a black rectangle. Hopefully, someone will be able to figure out from this what's not working!
carandol is offline   Reply With Quote