Ubuntu-US-NM Mp3 to OGG

Eric Krieger unmlobo at gmail.com
Mon Oct 15 17:12:51 BST 2007


If it's any help I created the following bash script and set a one time
cron job to run it on my media server.  That way I would not have to
baby sit mp32ogg for each genre.  My conversion has been running now for
2 days and it's about a 1/4 of the way through my collection
(205gigs).  

#!/bin/bash

###################################
# 
# BASH Script Convert MP3 to OGG
# Objectives: Convert current
# mp3 music collection to ogg
#
# Author: Eric Krieger
# Run As: gcleric
# Run Time: once via cron
# Date Created: 10/13/07
# Last Modified: 10/13/07
###################################
#
# Run mp32ogg
#
/usr/bin/mp32ogg --delete /media/music/classical
/usr/bin/mp32ogg --delete /media/music/country
/usr/bin/mp32ogg --delete /media/music/international
/usr/bin/mp32ogg --delete /media/music/jazz_and_blues
/usr/bin/mp32ogg --delete /media/music/lounge
/usr/bin/mp32ogg --delete /media/music/metal
/usr/bin/mp32ogg --delete /media/music/new_age_and_mellow
/usr/bin/mp32ogg --delete /media/music/pop_and_rock
/usr/bin/mp32ogg --delete /media/music/rap
/usr/bin/mp32ogg --delete /media/music/soundtracks
/usr/bin/mp32ogg --delete /media/music/techno
/usr/bin/mp32ogg --delete /media/music/trip_hop
/usr/bin/mp32ogg --delete /media/music/various/remixes
/usr/bin/mp32ogg --delete /media/music/various/80s
/usr/bin/mp32ogg --delete /media/music/various/singles


On Mon, 2007-10-15 at 06:48 -0600, DThomas at metrocourt.state.nm.us wrote:
> 
> You know I have allot if my MP3's converted all ready, but I still
> have a long way to go before I  have them all done, this little bit of
> info sure will help, Thanks again Eric. 
> 
> 
> 
> Eric Krieger <unmlobo at gmail.com> 
> Sent by:
> ubuntu-us-nm-bounces at lists.ubuntu.com 
> 
> 10/14/2007 07:31 AM 
> 
> 
>                To
> Ubuntu NM
> <Ubuntu-us-nm at lists.ubuntu.com> 
>                cc
> 
>           Subject
> Ubuntu-US-NM Mp3
> to OGG
> 
> 
> 
> 
> 
> 
> 
> 
> OK, I've finally given in and I'm in the process of converting my mp3
> music collection to ogg.   My tipping point was that I found that
> Banshee will auto convert ogg files to mp3 when syncing music to an
> ipod.   So that led me on a quest to write a bash script that would
> recursively convert all mp3 files in all sub directories to ogg.  I
> had
> this really nice script created when I found the Ubuntu package
> mp32ogg...phrase "D'OH!" came to mind. =)
> 
> http://packages.ubuntu.com/feisty/sound/mp32ogg
> 
> 
> I would highly recommend that before using mp32ogg that a VERY good
> backup is made of you music collection.  Just in case things don't go
> as
> expected.    
> 
> - Eric 
> 
> ----------------------------------------
> Eric J. Krieger
> email: unmlobo at gmail.com
> 
> 
> Random Quote:
> 
> "When I travel, nobody knows me...
> and I like it that way!"
>        -S. King 
> 
> Sun Oct 14 07:18:25 MDT 2007 
> 07:18:25 up 1:23, 2 users, load average: 1.31, 1.37, 0.90 
> #1 SMP Wed Oct 10 06:00:47 GMT 2007 GNU/Linux 
> 
> -- 
> Ubuntu-us-nm mailing list
> Ubuntu-us-nm at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-us-nm
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/ubuntu-us-nm/attachments/20071015/d641f9bd/attachment.pgp 


More information about the Ubuntu-us-nm mailing list