Gentoo Archives: gentoo-amd64

From: Paul Stear <gentoo@××××××××××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] How to use &&
Date: Sun, 04 Jan 2009 14:07:21
Message-Id: 200901041409.02286.gentoo@appjaws.plus.com
In Reply to: Re: [gentoo-amd64] How to use && by Martin Herrman
1 On Sunday 04 January 2009 12:33:27 Martin Herrman wrote:
2 > On Sun, Jan 4, 2009 at 1:30 PM, Paul Stear <gentoo@××××××××××××.com> wrote:
3 > > Hello all,
4 > > I have the following command which works well..
5 > > mp3gain --auto /home/"Fred Music"/mp3/B*/*.mp3
6 > >
7 > > I want to expand this so overnight I can get more directories completed.
8 > > I tried the following but it only did the directories starting "B", the
9 > > sequence after the && just wasn't actioned. I have looked at bash docs
10 > > but can't find anything relevent (probably staring me in the face).
11 > > mp3gain --auto /home/"Fred Music"/mp3/B*/*.mp3 && mp3gain --auto
12 > > /home/"Fred Music"/mp3/C*/*.mp3 && mp3gain --auto /home/"Fred
13 > > Music"/mp3/D*/*.mp3
14 > >
15 > > Any ideas?
16 > > Paul
17 >
18 > Hi Paul,
19 >
20 > I have created some shell scripts that execute some operations on my
21 > ogg/mp3 file collection. I use 'find' to create a list of all my files
22 > and next process them. Ogg2mp3 also uses all of your cores. You might
23 > use these scripts and adapt them to your needs:
24 >
25 > http://www.herrman.nl/index.php?item=ogg2mp3tagfiles
26 >
27 > HTH,
28 >
29 > Martin
30
31 Thanks for your reply Martin. I have looked at your scripts and I might be
32 able to use then in the future. My main problem is that my collection is so
33 large, e.g 3104 files just in the directory beginning with "D" and that take
34 about 4+ hours to run. So I could do with operating on 3 directories
35 overnight.
36 I must be able to add commands to be operated on in sequence.
37
38 Any ideas?
39
40 Paul
41
42 --
43 This message has been sent using kmail with gentoo linux

Replies

Subject Author
Re: [gentoo-amd64] How to use && Maciej Kazulak <kazulakm@×××××.com>
Re: [gentoo-amd64] How to use && Martin Herrman <martin@×××××××.nl>