[Gllug] batch convert

Jonathan Harker jharker at massey.ac.nz
Tue Jan 28 20:37:58 UTC 2003


On Wednesday 29 Jan 2003 8:27 am, David Irvine wrote:
> > > On Jan 28 2003, Ashley wrote:
> > > > Anybody know of a program to batch-resample mp3s?
> > >
> > > man find  (see esp. the -exec option)
>
> Alternatively,
>
> you can use some bash scripting
>
>
> for i in  *.mp3
> do
> resample_mp3_application $i
> done
>
>
> or if you have a file containing a list of files
>
> files='cat file_containing_files'
>
> for file in $files
> do
> resample_mp3_application $files
> done
>
>
> Hope that helps
>
> David

I have tried this in the past, and it is fine if your filenames do not contain 
spaces. If you're a fickle sort like me, and some of your 10000 odd songs 
have spaces in the filename, how can one get the above scripts to work?

-- 
Jonathan Harker
MUSAC
Massey University
http://www.massey.ac.nz/

Carson's Consolation:
	Nothing is ever a complete failure.
	It can always be used as a bad example.


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list