Guest User

Untitled

a guest
Jun 19th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. if ! test $1
  4. then
  5. echo "Spécifiez le nom du fichier sans l'extension"
  6. read nom
  7. else
  8. export nom=$1
  9. fi
  10.  
  11. if test -n "/tmp/Flash??????"
  12. then
  13. if test -n "/usr/bin/mplayer"
  14. then
  15. mplayer -dumpaudio -dumpfile "$nom.mp3" /tmp/Flash??????
  16. else
  17. echo "mplayer est requis pour continuer"
  18. fi
  19. else
  20. echo "Le flux audio est introuvable."
  21. echo "Vérifiez que la page et la chason sont chargées"
  22. fi
Add Comment
Please, Sign In to add comment