Concatenate mp3-Files on Macintosh

Mark Smith mark at maseurope.net
Wed Oct 24 18:03:26 CDT 2007


On 25 Oct 2007, at 00:45, Mark Smith wrote:
>
> I may be wrong, but I think the "cd" needs to be part of the same  
> shell call as the "cat",  since the result of the "cd" is not  
> persistent across the calls, so:
>
> answer folder "Where are the mp3-files to Concatenate?"
> put it into sourcefolder
> ask file "What is the path to the resulting file?"
> put it into targetpath
> get shell("cd" && QUOTE & sourcefolder & QUOTE & cr & "cat *.mp3 >"  
> && QUOTE & targetpath & QUOTE)
>

Now tested - no "cd" needed:

get shell("cat" && quote & sourceFolder & quote & "*.mp3 >" && quote  
& targetPath & quote)


Best,

Mark



More information about the use-livecode mailing list