Gentoo Archives: gentoo-user

From: Grant <emailgrant@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] {OT} dvdrip permissions error, alternative?
Date: Tue, 10 Oct 2006 16:05:56
Message-Id: 49bf44f10610100859s64e6d680kd0c9c7f117bcaf2a@mail.gmail.com
In Reply to: Re: [gentoo-user] {OT} dvdrip permissions error, alternative? by Neil Bothwick
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

Replies

Subject Author
Re: [gentoo-user] {OT} dvdrip permissions error, alternative? Neil Bothwick <neil@××××××××××.uk>