Tweak below script a little and it should do the trick - should work the
way it is - but I haven't tested it, it's a port of mine video encoder
for multiple directories.
#!/bin/bash
new_files=$(find /path/to/input/ -iname *.ogg)
inc=1
for x in $new_files
do
filename[$inc]=$x
There was a bug in my pervious script
#!/bin/bash
new_files=$(find /path/to/input/ -iname *.ogg)
inc=1
for x in $new_files
do
filename[$inc]=$x
char_count=$(stat $filename[$inc]|wc -c)
name_end=$(($char_count - 6))
out_name[$inc]=$(*stat*
Thanks Dexter. Good stuff!
Cheers,
Mark
On Sun, Apr 27, 2008 at 9:04 AM, dexters84 [EMAIL PROTECTED] wrote:
There was a bug in my pervious script
#!/bin/bash
new_files=$(find /path/to/input/ -iname *.ogg)
inc=1
for x in $new_files
do
filename[$inc]=$x
On 4/27/08, Mark Knecht [EMAIL PROTECTED] wrote:
Hi,
I've got about 200GB of OGG and FLAC files on my local machine. My
son bought an iPod and wants me to do a batch conversion to mp3. Can
anyone recommend something in portage that can do this in more or less
a single step? Directory
quoth the Mark Knecht:
Hi,
I've got about 200GB of OGG and FLAC files on my local machine. My
son bought an iPod and wants me to do a batch conversion to mp3. Can
anyone recommend something in portage that can do this in more or less
a single step? Directory hierarchy is basically
On Sunday 27 April 2008, Mark Knecht wrote:
Hi,
I've got about 200GB of OGG and FLAC files on my local machine. My
son bought an iPod and wants me to do a batch conversion to mp3. Can
anyone recommend something in portage that can do this in more or
less a single step? Directory hierarchy
Hi,
On 27.04.2008 17:16:50, Mark Knecht wrote:
Hi,
I've got about 200GB of OGG and FLAC files on my local machine. My
son bought an iPod and wants me to do a batch conversion to mp3. Can
anyone recommend something in portage that can do this in more or less
a single step? Directory
Here is a shorter one:
for i in `ls *.ogg | sed -e 's/.ogg//'`; do echo Converting $i.ogg to $i.mp3; ogg123 -d wav -f - $i.ogg | lame-
$i.mp3; done
--
#Joseph
GPG KeyID: ED0E1FB7
On 04/27/08 18:04, dexters84 wrote:
There was a bug in my pervious script
#!/bin/bash
new_files=$(find
8 matches
Mail list logo