Re: [LAU] No batch processing on Linux?

From: James Morris <jwm.art.net@email-addr-hidden>
Date: Wed Sep 22 2010 - 12:20:06 EEST

On 22 September 2010 10:11, Louigi Verona <louigi.verona@email-addr-hidden> wrote:
> Hey guys!
>
> Yeah, I am not saying it is anyone's fault and my CLI abilities are very
> basic. Also, even when I do research such stuff, I forget it quickly. For
> instance, I remember testing a CLI command to convert photos from one size
> to another. It was very fast and efficient and I was really convinced that
> it is much faster than firing up a GUI program. However, when I had to do a
> similar task some months later, at that moment I had no access to the
> Internet and I could not remember what command that was and how to use it.
> So eventually I had to give up.
> Same with file encoding. It does not come up very often, when it does - will
> I remember the command?

That's why you put such commands into a bash script so you have it for
reference.

for instance:

   #!/bin/bash
   # flac_to_mp3
   for f in *.mp3; do lame -v "$f"; done

Don't forget to make it executable:

chmod +x flac_to_mp3

A good reference is the Advanced Bash Scripting Guide:
http://tldp.org/LDP/abs/html/

james

-- 
_
: http://jwm-art.net/
-audio/image/text/code
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Wed Sep 22 16:15:02 2010

This archive was generated by hypermail 2.1.8 : Wed Sep 22 2010 - 16:15:02 EEST