Hi, I am trying to correct a script I want to use to automate the copy of DVDs from a cdrom to my hard drive and I just can't get it to work.
Here it is:
I use a similar script two or three years ago and the cdrom was named cdrom0. But now, event by changing the cdrom name, nothing work.Code:#!/bin/bash mount /media/cdrom cd /media/cdrom cp * -r /media/cdrom /media/"Expansion Drive"/Fichiers/FR/ #eject
At the beginning of the script, I get:
mount : impossible de trouver (not able to find) /media/cdrom/ dans /etc/fstab ou /etc/mtab
If I look in /media, I get this:
drwxr-xr-x 2 root root 4096 2011-09-26 16:53 cdrom
drwx------ 1 user user 4096 2011-08-17 21:27 Expansion Drive
dr-x------ 1 user user 2048 2005-12-12 23:28 FR20051212
cdrom seems to be identified by Ubuntu separately from the disk FR20051212 (volume name) itself.
I tried to find an answer on Internet but the search terms are too general to get a specific answer.
What am I not understanding?
Sorry if the question looks noob, but some days, I really am!