Next Previous Contents

5. Des scripts

A adapter vos besoins.

5.1 Copie-cd

#/bin/sh

cd /images

rm *.wav *.iso

dd if=/dev/sr1 of=image.iso

5.2 Voir-image

#/bin/sh

cd /images

mount -t iso9660 -o ro,loop=/dev/loop0 image.iso /mnt/loop

ls -l /mnt/loop

df | grep loop

umount /mnt/loop

5.3 Image-copie

#/bin/sh

cd /images

cdrecord -v dev=0,1,0 -speed=8 -eject image.iso

5.4 Copie-audio

#!/bin/sh

cd /images

rm *.wav *.iso

cdparanioa -B -d /dev/sr1 "1-"

5.5 Rapide-audio

cd /images

rm *.wav *.iso

cdda2wav

5.6 Audio-copie

cdrecord -v dev=0,1,0 -speed=8 -eject *.wav


Next Previous Contents