From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GXK79-0001NM-Mb for garchives@archives.gentoo.org; Tue, 10 Oct 2006 16:05:56 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k9AG4UHe024454; Tue, 10 Oct 2006 16:04:30 GMT Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.227]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k9AFx1Oe010818 for ; Tue, 10 Oct 2006 15:59:01 GMT Received: by wr-out-0506.google.com with SMTP id 67so448450wri for ; Tue, 10 Oct 2006 08:59:00 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JA1GnXuMyZ7IFLBfwgHJGfC4Fndrxe3HN6qJSvXsHU4/IQtDllaeEgBM9bjcK7bVgnacqcIb06kl4jEGQ1QIGGs/rYAaHnqQADu3WG0fclCXbkny9OFWa79TdBoqRq6JCZXgzsj73u1RpQLA9+cQIYjsrnFAjeXR57V6THMaQwU= Received: by 10.90.115.4 with SMTP id n4mr3721121agc; Tue, 10 Oct 2006 08:59:00 -0700 (PDT) Received: by 10.90.54.10 with HTTP; Tue, 10 Oct 2006 08:59:00 -0700 (PDT) Message-ID: <49bf44f10610100859s64e6d680kd0c9c7f117bcaf2a@mail.gmail.com> Date: Tue, 10 Oct 2006 08:59:00 -0700 From: Grant To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] {OT} dvdrip permissions error, alternative? In-Reply-To: <20061010092847.35e25270@hactar.digimed.co.uk> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <49bf44f10610050957q6a1758apded3e4b5ffce987@mail.gmail.com> <20061008205645.5f9aa9bb.nick@rout.co.nz> <49bf44f10610081059h57eb31c4pf648a4dfe9de063c@mail.gmail.com> <20061009100237.3d598df4@krikkit.digimed.co.uk> <49bf44f10610090755k65e772e0jf1677c65694240ad@mail.gmail.com> <20061009161657.30b14684@hactar.digimed.co.uk> <49bf44f10610090942v732db493l5741893da96f80a3@mail.gmail.com> <20061009190703.3fd2226c@krikkit.digimed.co.uk> <49bf44f10610091708y237251f4p922a46bfa19a3e47@mail.gmail.com> <20061010092847.35e25270@hactar.digimed.co.uk> X-Archives-Salt: 4ed5a128-5cee-49ea-abe3-3f654e70efd2 X-Archives-Hash: 3d4b6f564b2ba76a050d0d9ba1a21923 > > mount /dev/cdrom && vobcopy -m -o MOVIE_NAME && mkisofs -l -o > > MOVIE_NAME.iso MOVIE_NAME && rm -rf MOVIE_NAME > > > > How can I set that up in a script and execute just the script? > > #!/bin/bash > > mount /dev/dvd > TITLE=$(vobcopy -I 2>&1 | awk '/DVD-name:/ {print $3}') > vobcopy -m || exit > mkisofs -dvd-video -V ${TITLE} -o ${TITLE}.iso ${TITLE} || exit > rm -fr ${TITLE} > umount /dev/dvd Thanks for the script. I set it up to temporarily use my dd images as the source, and it looks like the iso comes out about 13MB smaller than the dd image. Does that make sense? Also, mkisofs didn't like -o ${TITLE}.iso and errored with something like: '.iso' is an invalid atom Does ${TITLE}.iso need quotes? - Grant -- gentoo-user@gentoo.org mailing list