Hello, > > find -iname \*.mp3 | perl -MList::Util=shuffle -e 'print shuffle <>' > > > Je vais tenter ça. Je ne sais pas si la GeexBox embarque Perl, mais je > vais tenter (je l'aurais fait en Python mais visiblement ... ya pas ça)
Un peu plus long, mais c'est aussi possible :
find -iname \*.mp3 | python -c "import random; import sys;
l = sys.stdin.readlines (); random.shuffle (l);
[sys.stdout.write (i) for i in l]"
(Attention à mettre soit sur une ligne, soit sans espaces en début de
ligne).
Bonne journée.
Olivier
--
Olivier Bornet
[EMAIL PROTECTED]
Swiss Ice Hockey Results : http://puck.ch/
Get my PGP-key at http://puck.ch/pgp or at http://pgp.mit.edu/
signature.asc
Description: Digital signature
_______________________________________________ gull mailing list [email protected] http://lists.alphanet.ch/mailman/listinfo/gull
