Gentoo Archives: gentoo-amd64

From: Martin Herrman <martin@×××××××.nl>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] How to use &&
Date: Sun, 04 Jan 2009 12:33:31
Message-Id: 40bb8d3b0901040433g1853e7c9xe61d055497bc416c@mail.gmail.com
In Reply to: [gentoo-amd64] How to use && by Paul Stear
1 On Sun, Jan 4, 2009 at 1:30 PM, Paul Stear <gentoo@××××××××××××.com> wrote:
2 > Hello all,
3 > I have the following command which works well..
4 > mp3gain --auto /home/"Fred Music"/mp3/B*/*.mp3
5 >
6 > I want to expand this so overnight I can get more directories completed. I
7 > tried the following but it only did the directories starting "B", the
8 > sequence after the && just wasn't actioned. I have looked at bash docs but
9 > can't find anything relevent (probably staring me in the face).
10 > mp3gain --auto /home/"Fred Music"/mp3/B*/*.mp3 && mp3gain --auto /home/"Fred
11 > Music"/mp3/C*/*.mp3 && mp3gain --auto /home/"Fred Music"/mp3/D*/*.mp3
12 >
13 > Any ideas?
14 > Paul
15
16 Hi Paul,
17
18 I have created some shell scripts that execute some operations on my
19 ogg/mp3 file collection. I use 'find' to create a list of all my files
20 and next process them. Ogg2mp3 also uses all of your cores. You might
21 use these scripts and adapt them to your needs:
22
23 http://www.herrman.nl/index.php?item=ogg2mp3tagfiles
24
25 HTH,
26
27 Martin

Replies

Subject Author
Re: [gentoo-amd64] How to use && Paul Stear <gentoo@××××××××××××.com>