🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fr.comp.os.android
Article #1445

scripts bash sous android

#1445
From: marc
Date: Tue, 08 Nov 2011 22:33
56 lines
2276 bytes
J'ai qq scripts sous mon ubuntu, comme:

ouifm:


mplayer http://ouifm.ice.infomaniak.ch/ouifm-high.mp3


mais aussi des script qui telechargent des pdfs journaux comme 20min.fr etc,

comment les mettre et utiliser sur android?

-  Le nom d'un mediaplayer
-  C'est posible de lancer dans un terminal app une application graphique??


Un pdf journal:  (un des 
http://www.newspaperinnovation.com/index.php/europe/  )



doc=$(date +%Y%m%d)

twmin=${doc}"_BOR.pdf"   #Bordeaux
twmin=${doc}"_LIL.pdf"   #Lille

if [ -f $twmin ];
then
echo $twmin already exists, you ve read it
#exit 0
#http://pdf.20minutes.fr/journal/20060505_LIL.pdf
#http://20minutes.s3.amazonaws.com/20070507_LIL.pdf

else
twminlink="http://cache.20minutes.fr/pdf/2011/quotidien/"$twmin

echo $twminlink

wget  $twminlink

fi


ispdf=`file --brief $twmin | cut -c1-3`
if [ "$ispdf" =  "PDF" ];
then
evince -f  $twmin &
fi

-- 
--
What's on Shortwave guide: choose an hour, go!
http://shortwave.tk
700+ Radio Stations on SW http://swstations.tk
300+ languages on SW http://radiolanguages.tk
Technical Details
Message-ID: <j9caol$b85$1@dont-email.me>
Path: arc1-ca.pugleaf.net!h5ni14159pba.0!nntp.google.com!news2.google.com!goblin2!goblin.stu.neva.ru!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: afd050,7f42bfff67cafb32,start
X-Google-NewGroupId: yes
X-Google-Attributes: gid8504821361,domainid0,public,usenet
X-Google-Language: FRENCH,ASCII-7-bit
Received: by 10.68.27.132 with SMTP id t4mr116287pbg.3.1320791640351;
        Tue, 08 Nov 2011 14:34:00 -0800 (PST)
Path: arc1-ca.pugleaf.net!h5ni14159pba.0!nntp.google.com!news2.google.com!goblin2!goblin.stu.neva.ru!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: marc <nomail@be.com>
Newsgroups: fr.comp.os.android
Subject: scripts bash sous android
Followup-To: fr.comp.os.android
Date: Tue, 08 Nov 2011 23:33:56 +0100
Organization: A noiseless patient Spider
Lines: 56
Message-ID: <j9caol$b85$1@dont-email.me>
Mime-Version: 1.0
Injection-Date: Tue, 8 Nov 2011 22:33:58 +0000 (UTC)
Injection-Info: mx04.eternal-september.org; posting-host="MuQK9GBPJzy76K84jOlUHg";
 logging-data="11525"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/NYPaLOBaoZTm3m1jW/t22"
User-Agent: KNode/4.4.6
Cancel-Lock: sha1:UzoLJQxaUs2S8MTzLk9rtpFF7sk=
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7Bit