1 |
> > mount /dev/cdrom && vobcopy -m -o MOVIE_NAME && mkisofs -l -o |
2 |
> > MOVIE_NAME.iso MOVIE_NAME && rm -rf MOVIE_NAME |
3 |
> > |
4 |
> > How can I set that up in a script and execute just the script? |
5 |
> |
6 |
> #!/bin/bash |
7 |
> |
8 |
> mount /dev/dvd |
9 |
> TITLE=$(vobcopy -I 2>&1 | awk '/DVD-name:/ {print $3}') |
10 |
> vobcopy -m || exit |
11 |
> mkisofs -dvd-video -V ${TITLE} -o ${TITLE}.iso ${TITLE} || exit |
12 |
> rm -fr ${TITLE} |
13 |
> umount /dev/dvd |
14 |
|
15 |
Thanks for the script. I set it up to temporarily use my dd images as |
16 |
the source, and it looks like the iso comes out about 13MB smaller |
17 |
than the dd image. Does that make sense? |
18 |
|
19 |
Also, mkisofs didn't like -o ${TITLE}.iso and errored with something like: |
20 |
|
21 |
'.iso' is an invalid atom |
22 |
|
23 |
Does ${TITLE}.iso need quotes? |
24 |
|
25 |
- Grant |
26 |
-- |
27 |
gentoo-user@g.o mailing list |