From owner-freebsd-questions@FreeBSD.ORG Tue Dec 29 16:49:35 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78827106566C for ; Tue, 29 Dec 2009 16:49:35 +0000 (UTC) (envelope-from neshort@yahoo.com) Received: from n11.bullet.mail.mud.yahoo.com (n11.bullet.mail.mud.yahoo.com [209.191.125.210]) by mx1.freebsd.org (Postfix) with SMTP id 2E6878FC16 for ; Tue, 29 Dec 2009 16:49:34 +0000 (UTC) Received: from [68.142.200.224] by n11.bullet.mail.mud.yahoo.com with NNFMP; 29 Dec 2009 16:35:59 -0000 Received: from [76.13.13.25] by t5.bullet.mud.yahoo.com with NNFMP; 29 Dec 2009 16:35:59 -0000 Received: from [68.142.230.28] by t4.bullet.mail.ac4.yahoo.com with NNFMP; 29 Dec 2009 16:35:59 -0000 Received: from [66.196.97.154] by t1.bullet.re2.yahoo.com with NNFMP; 29 Dec 2009 16:35:59 -0000 Received: from [127.0.0.1] by omp207.mail.re3.yahoo.com with NNFMP; 29 Dec 2009 16:35:59 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 12750.93778.bm@omp207.mail.re3.yahoo.com Received: (qmail 83762 invoked by uid 60001); 29 Dec 2009 16:35:58 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1262104558; bh=5+kyhe0XAyGnjz6mlfwUtPqzugsQ5ZkiLQ1Do210R/Y=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=mKa3/uHglJkiP6ecPVyqhtV4QdkOGORPaHEacgnhgqbq0jLq9j4mEzrpHIcmh6SdzTqa+4FU5panqGbOxaIZML5IJ7xM26naN83ohy5WuefQAlMLJJH0xUYveaJ8n/ODgWrgs4vQS34q86RqUqmUYSQXSBE4UhaC9CmB7kCHWA8= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=ADSEtpQpnyFya8j5nUwPGlBy/pJJsL76+I20U+V/CNPAMP+nvJheDBX34Rpz/M1RwCdGP4vzYRbUyLYJgfZmJPa1abJbnNlM2x1wJO+LyYVQofYB0YIOek5Pt5RratV2jmRdlXzOMqZ5ITfRtiKlFRF5ub+6h2HR7TyI8MIqWTc=; Message-ID: <793133.83739.qm@web56501.mail.re3.yahoo.com> X-YMail-OSG: x4heDmsVM1l1P9049BJiR4IA1njn1qCUoCVUiLTrOB6Y2K5ZQm9iTiVTXglt6P6RGEsAhoFG9z.SjA9fY0Gj657crxr_SBg0k2wViW7X3reXja3bAOdZ99vb88jUB3IFRnsN9Pl_qctyc_av.sYRjbkSSNJkKGjeXeBW3VHeLiOjWnk5VOddeLoklY71WtG1Bgx.QqZPBpRUSOFdYF7LeHBS3xsmrMYIJaan8HJaPxMYzEr7cq11Xf5tYrWCHG2fi7n_qtZ0r_RJjkWVq5RgukD1M2iGUa1kZM9O_5GO0BrrJdNQl3zdzO95DOlddN29pDvjW4JzFDmRceb3oSHQrQ-- Received: from [174.18.64.50] by web56501.mail.re3.yahoo.com via HTTP; Tue, 29 Dec 2009 08:35:58 PST X-Mailer: YahooMailClassic/9.0.20 YahooMailWebService/0.8.100.260964 Date: Tue, 29 Dec 2009 08:35:58 -0800 (PST) From: Neil Short To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: mplayer / bash question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Dec 2009 16:49:35 -0000 I'm trying to batch-rip audio files from a bunch of video files. I have a directory full of *.vob files: ls *.vob 01.vob 03.vob 05.vob 07.vob 09.vob 11.vob 13.vob 02.vob 04.vob 06.vob 08.vob 10.vob 12.vob So I wrote a little command line script to rip wave files from all the vob's: ls *.vob | > while read f > do > mplayer -ao pcm:file=`basename $f .vob`.wav $f > done the first 01.wav file is created successfully; but then the whole sh'bang exits without ripping the rest of the vob's: Exiting... (End of file) $ ====== "What did you do?" the man holding the flashlight asked. "I put down a spider," he said, wondering why the man didn't see; in the beam of yellow light the spider bloated up larger than life. "So it could get away."